aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-05-13 20:54:45 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-05-13 20:54:45 +0000
commitc1b5fa41f09512c74030b9a2a0d1564535e22a76 (patch)
treebebf2bccf40aaa3ad905e47fcc0308ecd65db92b /lib/CodeGen/CGClass.cpp
parent84f95cf115bc9031179e3b2c10a628dee3551142 (diff)
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
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions