]> granicus.if.org Git - clang/commit
The two libclang crash-recovery tests that involve precompiled
authorDouglas Gregor <dgregor@apple.com>
Sat, 11 Sep 2010 18:05:19 +0000 (18:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 11 Sep 2010 18:05:19 +0000 (18:05 +0000)
commit424668cc90a07f3f98b36dad252940a43ded83d8
treeedbf080caac4b804c21a94aa41f304c2118ca52e
parent2cd4fd4b7554480cbea67b48de5e5d467d06e292
The two libclang crash-recovery tests that involve precompiled
preambles end up leaving the precompiled preambles around. This is by
design, since we do minimal cleanup during crash recovery. However,
it's unfortunate for testing, so introduce a hook that allows these
two tests to put the precompiled preamble somewhere where we can
delete them after testing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113698 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/ASTUnit.cpp
test/Index/crash-recovery-code-complete.c
test/Index/crash-recovery-reparse.c