]> granicus.if.org Git - clang/commit
Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exception...
authorAnders Carlsson <andersca@mac.com>
Tue, 22 Feb 2011 01:52:06 +0000 (01:52 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 22 Feb 2011 01:52:06 +0000 (01:52 +0000)
commite9b801f7633b11b18d357a71442bd003435784e8
tree402fc936a442aef1a0584bb77751e13753fc00de
parent95bba6f26fa68cc8c163f35f4b4f218ab279117a
Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on.

Update all tests accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126177 91177308-0d34-0410-b5e6-96231b3b80d8
32 files changed:
include/clang/Driver/CC1Options.td
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenObjC/blocks-4.m
test/CodeGenObjC/exceptions-nonfragile.m
test/CodeGenObjC/exceptions.m
test/CodeGenObjC/gnu-exceptions.m
test/CodeGenObjC/metadata_symbols.m
test/CodeGenObjC/nested-rethrow.m
test/CodeGenObjC/rdr-6732143-dangling-block-reference.m
test/CodeGenObjC/try.m
test/CodeGenObjC/unwind-fn.m
test/Coverage/ast-printing.m
test/Coverage/codegen-gnu.m
test/Coverage/codegen-next.m
test/Driver/rewrite-objc.m
test/PCH/objc_stmts.m
test/Parser/objc-try-catch-1.m
test/Rewriter/finally.m
test/Rewriter/rewrite-eh.m
test/Rewriter/rewrite-try-catch.m
test/SemaObjC/catch-stmt.m
test/SemaObjC/invalid-code.m
test/SemaObjC/no-objc-exceptions.m
test/SemaObjC/property-6.m
test/SemaObjC/rdar6248119.m
test/SemaObjC/return.m
test/SemaObjC/scope-check.m
test/SemaObjC/stmts.m
test/SemaObjC/try-catch.m
test/SemaObjC/warn-unused-exception-param.m
test/SemaObjCXX/instantiate-stmt.mm