]> granicus.if.org Git - clang/commit
Add a -fcxx-exceptions flag to the frontend, which can be used to enable
authorAnders Carlsson <andersca@mac.com>
Mon, 28 Feb 2011 02:27:16 +0000 (02:27 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 28 Feb 2011 02:27:16 +0000 (02:27 +0000)
commit15348aeb81285c75b2e92b5bf8d2db3445d147c2
tree4decd60ef2c274e5980a3c659a230c475f42892d
parent3b368dda700e46ef6002168b92cb5bd18e261a5c
Add a -fcxx-exceptions flag to the frontend, which can be used to enable
C++ exceptions, even when exceptions have been turned off using -fno-exceptions.
Make the -fobjc-exceptions flag do the same thing, but for Objective-C exceptions.

C++ and Objective-C exceptions can also be disabled using -fno-cxx-excptions and
-fno-objc-exceptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126630 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/CodeGen/CGException.cpp
lib/Driver/Tools.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaStmt.cpp