[cfe-commits] r106715 - in /cfe/trunk/lib: Basic/Targets.cpp Frontend/InitPreprocessor.cpp Lex/PPMacroExpansion.cpp

Eric Christopher echristo at apple.com
Wed Jun 23 23:38:16 PDT 2010


On Jun 23, 2010, at 10:41 PM, Chris Lattner wrote:

> 
> On Jun 23, 2010, at 7:02 PM, Eric Christopher wrote:
> 
>> Author: echristo
>> Date: Wed Jun 23 21:02:00 2010
>> New Revision: 106715
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=106715&view=rev
>> Log:
>> Add a __has_feature macro and
>> target specific preprocessor define as well.
> 
> Hi Eric,
> 
> Is __HAS_TLS__ a macro defined by GCC?  If not, please don't define it.  __has_feature is plenty.  If so, ok.

I added one to llvm-gcc so that users there would have something to work off of - if we don't want it that's fine though :)

-eric



More information about the cfe-commits mailing list