diff options
author | Anders Carlsson <andersca@mac.com> | 2011-02-28 00:33:03 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-02-28 00:33:03 +0000 |
commit | 7a17851eee37f933eb57a5af7e1a0eb455443f6a (patch) | |
tree | 1b7f033b18eec20204631ccf730bab06dcdce78d /lib/CodeGen/CGDeclCXX.cpp | |
parent | fda0f1f5a278548b012401be07e287c1697fc41c (diff) |
Get rid of the areExceptionsEnabled() getter from LangOptions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDeclCXX.cpp')
-rw-r--r-- | lib/CodeGen/CGDeclCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDeclCXX.cpp b/lib/CodeGen/CGDeclCXX.cpp index e295267896..8b37e9af3c 100644 --- a/lib/CodeGen/CGDeclCXX.cpp +++ b/lib/CodeGen/CGDeclCXX.cpp @@ -166,7 +166,7 @@ CreateGlobalInitOrDestructFunction(CodeGenModule &CGM, Fn->setSection(Section); } - if (!CGM.getLangOptions().areExceptionsEnabled()) + if (!CGM.getLangOptions().Exceptions) Fn->setDoesNotThrow(); return Fn; |