summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2009-06-25 23:01:11 +0000
committerNate Begeman <natebegeman@mac.com>2009-06-25 23:01:11 +0000
commitf2911667d84104a046b4d61e29a8023e99764f1e (patch)
tree743342ab3a1ccfcfc9b3e461d8df9109da10736f /clang/lib/Frontend/PCHWriter.cpp
parent9d90579b6daafba1d488698003a42bfdb2aa847e (diff)
downloadbcm5719-llvm-f2911667d84104a046b4d61e29a8023e99764f1e.tar.gz
bcm5719-llvm-f2911667d84104a046b4d61e29a8023e99764f1e.zip
Write/Read new Language Options
llvm-svn: 74221
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp
index d1f9b975e92..e7bacabb3a2 100644
--- a/clang/lib/Frontend/PCHWriter.cpp
+++ b/clang/lib/Frontend/PCHWriter.cpp
@@ -531,6 +531,7 @@ void PCHWriter::WriteLanguageOptions(const LangOptions &LangOpts) {
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 @@ void PCHWriter::WriteLanguageOptions(const LangOptions &LangOpts) {
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);
}
OpenPOWER on IntegriCloud