[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

Chandler Carruth chandlerc at google.com
Sun Feb 27 23:07:25 PST 2011


On Sun, Feb 27, 2011 at 10:57 PM, John Wiegley <johnw at boostpro.com> wrote:

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

The plan as I understand it is for the driver to expand '-fexceptions' into
both variants as needed. I'm observing this behavior in the driver with a
fresh build, so I think this should all be working. Are you observing
something different?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110227/1f42c13e/attachment.html>


More information about the cfe-commits mailing list