]> granicus.if.org Git - clang/commit
Implement serialization/deserialization of LangOptions in the PCH
authorDouglas Gregor <dgregor@apple.com>
Fri, 10 Apr 2009 20:39:37 +0000 (20:39 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 10 Apr 2009 20:39:37 +0000 (20:39 +0000)
commit0a0428e96c6f1e8bef7a481a9eb69a6f6df38951
tree1bc2ebbf5fdbdea6f8d302d8e6d5318def494ffd
parent6a1284ac1707273ff474bfc6968b72e847191ba6
Implement serialization/deserialization of LangOptions in the PCH
file. When de-serializing LangOptions, we check that the
currently-provided language options are consistent with the options
used to compile the PCH file. If they are not, we emit a diagnostic
and ignore the PCH file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68820 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticFrontendKinds.td
include/clang/Frontend/PCHBitCodes.h
include/clang/Frontend/PCHReader.h
include/clang/Frontend/PCHWriter.h
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp