diff options
author | Anders Carlsson <andersca@mac.com> | 2011-02-23 03:04:54 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-02-23 03:04:54 +0000 |
commit | 6bbd2683963a32fdae1acfc18a0f456487121258 (patch) | |
tree | f20bbb4210327e97caf3310836fd1cc2811d9b3d /clang/lib/Serialization/ASTWriter.cpp | |
parent | 97e6428014eb5df2565f1dc1dde92b2701cd0dfa (diff) | |
download | bcm5719-llvm-6bbd2683963a32fdae1acfc18a0f456487121258.tar.gz bcm5719-llvm-6bbd2683963a32fdae1acfc18a0f456487121258.zip |
Add a CXXExceptions flag to LangOptions.
llvm-svn: 126299
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 8fcb535a9c8..b1edf95b9f9 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -1023,8 +1023,9 @@ void ASTWriter::WriteLanguageOptions(const LangOptions &LangOpts) { Record.push_back(LangOpts.LaxVectorConversions); Record.push_back(LangOpts.AltiVec); Record.push_back(LangOpts.Exceptions); // Support exception handling. - Record.push_back(LangOpts.SjLjExceptions); Record.push_back(LangOpts.ObjCExceptions); + Record.push_back(LangOpts.CXXExceptions); + Record.push_back(LangOpts.SjLjExceptions); Record.push_back(LangOpts.MSBitfields); // MS-compatible structure layout Record.push_back(LangOpts.NeXTRuntime); // Use NeXT runtime. |