[cfe-commits] [patch] Fix -fno-exceptions for c++

Rafael Espindola espindola at google.com
Tue Sep 29 11:52:58 PDT 2009


> This sort of thing is best handled in the driver.  clang-cc should just have
> a single "exceptions is enabled" flag, and the driver should munge the
> combination of flag settings, default language stuff, etc into a single bool
> that it passes off to clang-cc.

I have an updated patch that moves the logic to clang-cc.cpp. I can now
move it to the driver, but what should clang-cc do when no option is given?
Just have a simple default (disabled)?

> -Chris
>
>

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exceptions.patch
Type: text/x-diff
Size: 1751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090929/6eed0da7/attachment.patch>


More information about the cfe-commits mailing list