[cfe-commits] r74221 - in /cfe/trunk/lib/Frontend: PCHReader.cpp PCHWriter.cpp
Argyrios Kyrtzidis
kyrtzidis at apple.com
Thu Jun 25 16:31:21 PDT 2009
Hi Nate,
On Jun 25, 2009, at 4:01 PM, Nate Begeman wrote:
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/lib/Frontend/PCHReader.cpp (original)
> +++ cfe/trunk/lib/Frontend/PCHReader.cpp Thu Jun 25 18:01:11 2009
> @@ -1631,6 +1631,7 @@
> PARSE_LANGOPT(PascalStrings);
> PARSE_LANGOPT(WritableStrings);
> PARSE_LANGOPT(LaxVectorConversions);
> + PARSE_LANGOPT(AltiVec);
> PARSE_LANGOPT(Exceptions);
> PARSE_LANGOPT(NeXTRuntime);
> PARSE_LANGOPT(Freestanding);
> @@ -1654,6 +1655,7 @@
> LangOpts.setVisibilityMode((LangOptions::VisibilityMode)Record
> [Idx]);
> ++Idx;
> PARSE_LANGOPT(InstantiationDepth);
> + PARSE_LANGOPT(OpenCL);
> #undef PARSE_LANGOPT
>
> return Listener->ReadLanguageOptions(LangOpts);
>
Can you please also handle the new entries inside the
PCHValidator::ReadLanguageOptions function ?
-Argiris
> Modified: cfe/trunk/lib/Frontend/PCHWriter.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PCHWriter.cpp?rev=74221&r1=74220&r2=74221&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/lib/Frontend/PCHWriter.cpp (original)
> +++ cfe/trunk/lib/Frontend/PCHWriter.cpp Thu Jun 25 18:01:11 2009
> @@ -531,6 +531,7 @@
> Record.push_back(LangOpts.PascalStrings); // Allow Pascal strings
> Record.push_back(LangOpts.WritableStrings); // Allow writable
> strings
> Record.push_back(LangOpts.LaxVectorConversions);
> + Record.push_back(LangOpts.AltiVec);
> Record.push_back(LangOpts.Exceptions); // Support exception
> handling.
>
> Record.push_back(LangOpts.NeXTRuntime); // Use NeXT runtime.
> @@ -568,6 +569,7 @@
> Record.push_back(LangOpts.getGCMode());
> Record.push_back(LangOpts.getVisibilityMode());
> Record.push_back(LangOpts.InstantiationDepth);
> + Record.push_back(LangOpts.OpenCL);
> Stream.EmitRecord(pch::LANGUAGE_OPTIONS, Record);
> }
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090625/223aa262/attachment.html>
More information about the cfe-commits
mailing list