[cfe-commits] r126630 - in /cfe/trunk: include/clang/Driver/Options.td lib/CodeGen/CGException.cpp lib/Driver/Tools.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaStmt.cpp

John Wiegley johnw at boostpro.com
Sun Feb 27 22:57:20 PST 2011


On Feb 27, 2011, at 9:27 PM, Anders Carlsson wrote:

> 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.

This change makes it so that -fexceptions no longer enables exceptions for C++.
Is this intended behavior?  Do C++ users really need to use -fcxx-exceptions
when using clang now?

John



More information about the cfe-commits mailing list