[cfe-commits] r104295 - in /cfe/trunk: include/clang/Basic/DiagnosticLexKinds.td test/Lexer/hexfloat.cpp

Chris Lattner clattner at apple.com
Thu May 20 16:41:58 PDT 2010


On May 20, 2010, at 4:38 PM, Douglas Gregor wrote:

> 
> On May 20, 2010, at 4:33 PM, Chris Lattner wrote:
> 
>> Author: lattner
>> Date: Thu May 20 18:33:51 2010
>> New Revision: 104295
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=104295&view=rev
>> Log:
>> Don't warn about use of hex floats in c++ mode by default,
>> matching G++'s behavior.
>> 
>> Warn when -pedantic or -Wc++-hex-floats is passed, and
>> don't warn if -pedantic -Wno-c++-hex-floats are both passed.
> 
> Why not put this in -Wc++0x-compat ?

What a terrible idea.

Wait no - it's because I didn't know about -Wc++0x-compat, will fix, thanks!

-Chris



More information about the cfe-commits mailing list