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

Chris Lattner clattner at apple.com
Tue Sep 29 11:57:47 PDT 2009


On Sep 29, 2009, at 11:52 AM, Rafael Espindola wrote:

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

Yep, I think that makes sense!  Thanks Rafael,

-Chris

>
>> -Chris
>>
>>
>
> Cheers,
> -- 
> Rafael Ávila de Espíndola
> <exceptions.patch>





More information about the cfe-commits mailing list