aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.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
commitd5d410faa8cfbbf4e2ffc2f8aa470491a77fd843 (patch)
tree8d64dde93da0eaf4a3677c41cf398417a78abd7e /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parentc0b259ad90e416c7186293c8809685d869b7d58b (diff)
downloadllvm-d5d410faa8cfbbf4e2ffc2f8aa470491a77fd843.zip
llvm-d5d410faa8cfbbf4e2ffc2f8aa470491a77fd843.tar.gz
llvm-d5d410faa8cfbbf4e2ffc2f8aa470491a77fd843.tar.bz2
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. llvm-svn: 131308
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions