[cfe-commits] r143115 - in /cfe/trunk: include/clang/Frontend/ASTUnit.h lib/Frontend/ASTUnit.cpp test/Index/crash-recovery-code-complete.c test/Index/crash-recovery-reparse.c

Douglas Gregor dgregor at apple.com
Thu Oct 27 13:38:52 PDT 2011

On Oct 27, 2011, at 10:55 AM, Ted Kremenek wrote:

> Author: kremenek
> Date: Thu Oct 27 12:55:18 2011
> New Revision: 143115
> URL: http://llvm.org/viewvc/llvm-project?rev=143115&view=rev
> Log:
> Move ASTUnit's handling of temporary files and the preamble file into a lazily-created static DenseMap.  This DenseMap is cleared (and the files erased) via an atexit routine in the case an ASTUnit is not destroyed.  Fixes <rdar://problem/10293367>.
> -// RUN: rm %t-preamble.pch
> +// RUN: test ! -e %t-preamble.pch

This fancy shell stuff isn't going to work on Windows. You can add


to disable this test when no such shell is available.

	- Doug

More information about the cfe-commits mailing list