[cfe-commits] r136560 - in /cfe/trunk: lib/Lex/PPMacroExpansion.cpp lib/Parse/ParseDeclCXX.cpp test/SemaCXX/libstdcxx_is_pod_hack.cpp

Douglas Gregor dgregor at apple.com
Wed Aug 3 10:02:11 PDT 2011


On Jul 30, 2011, at 9:37 AM, Chris Lattner wrote:

> 
> On Jul 30, 2011, at 12:01 AM, Douglas Gregor wrote:
> 
>> Author: dgregor
>> Date: Sat Jul 30 02:01:49 2011
>> New Revision: 136560
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=136560&view=rev
>> Log:
>> Turn off __has_feature(is_empty) and __has_feature(is_pod) if the
>> libstdc++ hack has reverted these type traits to keywords. Icky, but
>> fixes <rdar://problem/9836262>.
> 
> Cute.  Please add a comment to the PPMacroExpansion.cpp code.  That will be a "wtf" for someone who is looking at that in the future. :)

r136788.

	- Doug



More information about the cfe-commits mailing list