[cfe-commits] r68820 - in /cfe/trunk: 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

Douglas Gregor dgregor at apple.com
Fri Apr 10 13:54:19 PDT 2009


On Apr 10, 2009, at 1:49 PM, Fariborz Jahanian wrote:

>
> On Apr 10, 2009, at 1:39 PM, Douglas Gregor wrote:
>
>> Author: dgregor
>> Date: Fri Apr 10 15:39:37 2009
>> New Revision: 68820
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=68820&view=rev
>> Log:
>> 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.
>>
>
> Does this include MACRO definitions passed on deserializer's command  
> line?


No, just the LangOptions structure. We do need to check macro  
definitions on the command line, but they'll be a separate commit (not  
sure if Chris or I will be doing that part).

	- Doug



More information about the cfe-commits mailing list