[cfe-commits] r90378 - in /cfe/trunk: lib/Lex/PPMacroExpansion.cpp test/Lexer/has_feature_exceptions.cpp
Douglas Gregor
dgregor at apple.com
Thu Dec 3 08:39:16 PST 2009
On Dec 3, 2009, at 8:15 AM, Mike Stump wrote:
> On Dec 2, 2009, at 10:30 PM, Chris Lattner wrote:
>> However, what is the use case of this?
>
> I checked google code and it didin't turn up too many hits... so
> luckily not too many people in practice actually check, which makes
> this probably not that important, but from a polish perspective, I
> still prefer a single spelling for the feature of exceptions.
You already have a single spelling for exceptions:
#if defined(__EXCEPTIONS)
I'm not sure why we bother adding has_feature(blah) for something that already has a de facto standard predefined macro name.
- Doug
More information about the cfe-commits
mailing list