summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_extension_cxx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Have '__have_extension(cxx_variadic_templates)' return true for any C++ ↵Eric Fiselier2015-05-121-0/+5
| | | | | | standard. llvm-svn: 237202
* Mark lambda init-captures as complete.Richard Smith2013-09-281-1/+8
| | | | llvm-svn: 191607
* Mark variable template implementation as complete. Nearly all of the creditRichard Smith2013-09-271-5/+6
| | | | | | here goes to Larisse Voufo. llvm-svn: 191549
* C++1y: Update __cplusplus to temporary value 201305L to allow detection of ↵Richard Smith2013-05-071-0/+6
| | | | | | | | | provisional C++1y support. Add __has_feature and __has_extension checks for C++1y features (based on the provisional names from the C++ features study group), and update documentation to match. llvm-svn: 181342
* Add feature check "cxx_local_type_template_args" describing supportDouglas Gregor2012-04-041-0/+8
| | | | | | | for templates with local template arguments, from Michel Morin! Fixes PR12337. llvm-svn: 153983
* Advertise support for cxx_range_for as an extension in C++98 mode. Patch by ↵Richard Smith2011-09-061-0/+5
| | | | | | | | Jean-Daniel Dupas! Also provide a modicum of test coverage for ranged for in C++98. llvm-svn: 139149
* Introduce __has_extension macroPeter Collingbourne2011-05-131-0/+36
__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
OpenPOWER on IntegriCloud