r230992 - Add -fexceptions for targets where it isn't the default.

Filipe Cabecinhas me at filcab.net
Mon Mar 2 11:11:53 PST 2015


Author: filcab
Date: Mon Mar  2 13:11:53 2015
New Revision: 230992

URL: http://llvm.org/viewvc/llvm-project?rev=230992&view=rev
Log:
Add -fexceptions for targets where it isn't the default.

It still tests that objc++-cpp-output turns on -fcxx-exceptions and
-fobjc-exceptions by being a c++ and objc(++) file.

Modified:
    cfe/trunk/test/Driver/objc++-cpp-output.mm

Modified: cfe/trunk/test/Driver/objc++-cpp-output.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/objc%2B%2B-cpp-output.mm?rev=230992&r1=230991&r2=230992&view=diff
==============================================================================
--- cfe/trunk/test/Driver/objc++-cpp-output.mm (original)
+++ cfe/trunk/test/Driver/objc++-cpp-output.mm Mon Mar  2 13:11:53 2015
@@ -1,5 +1,5 @@
-// RUN: %clang -emit-llvm -x objc++-cpp-output -S %s -o /dev/null
-// RUN: %clang -emit-llvm -x objc++-cpp-output -S %s -o /dev/null -### 2>&1 | FileCheck %s
+// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null
+// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null -### 2>&1 | FileCheck %s
 
 // PR13820
 // REQUIRES: LP64





More information about the cfe-commits mailing list