5297d71e8c85f9b04dc31c690e91c6a2f7eddb90 |
|
25-Feb-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Accept __has_feature(__feature__) as a synonym for __has_feature(feature) (and likewise for __has_extension). Patch by Jonathan Sauer! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151445 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Lexer/has_extension.c
|
fd5f6866a7574f12ecac5cceb7359ff253f83145 |
|
15-Oct-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Add c_alignas and cxx_alignas features git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Lexer/has_extension.c
|
c1b5fa41f09512c74030b9a2a0d1564535e22a76 |
|
13-May-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Introduce __has_extension macro __has_extension is a function-like macro which takes the same set of feature identifiers as __has_feature. It evaluates to 1 if the feature is supported by Clang in the current language (either as a language extension or a standard language feature) or 0 if not. At the same time, add support for the C1X feature identifiers c_generic_selections (renamed from generic_selections) and c_static_assert, and document them. Patch by myself and Jean-Daniel Dupas. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131308 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Lexer/has_extension.c
|