Prevent premature macro expansion in __has_builtin, __has_feature,
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Sat, 17 Nov 2012 19:18:27 +0000 (19:18 +0000)
committerAndy Gibbs <andyg1001@hotmail.co.uk>
Sat, 17 Nov 2012 19:18:27 +0000 (19:18 +0000)
commitd41d09424487d386b780986a030d9915af4fdee1
tree6d0c27f13f7209a06aae34f9acbf36ee3a3896fe
parenta8df57a962ff5ccd340aff234215738a64c4c735
Prevent premature macro expansion in __has_builtin, __has_feature,
__has_attribute, __has_extension, making them behave more akin to
conventional macros.

llvm-svn: 168268
clang/lib/Lex/PPMacroExpansion.cpp
clang/test/Preprocessor/feature_tests.c