[cfe-dev] diff: builtin macros
Eric Christopher
echristo at apple.com
Wed Sep 1 21:55:31 PDT 2010
On Sep 1, 2010, at 9:15 PM, Vladimir Kirillov wrote:
> There's a diff to support builtin macros defined at the preprocessor
> initialization time (like __clang__, __i386__, etc) to be also treated
> as builtin (MacroInfo::IsBuiltinMacro), so programs using clang
> libraries would be able to distinct these macros from others properly.
Uh, why? I mean, I can see the usefulness, but most projects just
go ahead and do things like prepending the name of the project
ahead of macros they define.
-eric
More information about the cfe-dev
mailing list