History log of /external/clang/test/Index/Inputs/pragma_disable_warning.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f789d0ab6fd47baa32111cda58334233fbc8e2d0 09-Nov-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [PCH] Fix reading from PCH of diagnostic pragmas.

In certain cases ASTReader would call the normal DiagnosticsEngine API to initialize
the state of diagnostic pragmas but DiagnosticsEngine would try to compare source locations
leading to crash because the main FileID was not yet initialized.

Yet another case of the ASTReader trying to use the normal APIs and inadvertently breaking
invariants. Fix this by having the ASTReader set up the internal state directly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/Inputs/pragma_disable_warning.h