]> granicus.if.org Git - clang/commit
C++1y: Update __cplusplus to temporary value 201305L to allow detection of provisiona...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 7 May 2013 19:32:56 +0000 (19:32 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 7 May 2013 19:32:56 +0000 (19:32 +0000)
commit7f0ffb3a9f4ce7428fd4f6eb3c3274c867c134f8
tree960d82e1b8137d8a111c01d38dfb0893f6fd4272
parent636478e288b88396d860f6b01b48b47953e3d5e9
C++1y: Update __cplusplus to temporary value 201305L to allow detection of 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181342 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LanguageExtensions.rst
lib/Frontend/InitPreprocessor.cpp
lib/Lex/PPMacroExpansion.cpp
test/Lexer/has_extension_cxx.cpp
test/Lexer/has_feature_cxx0x.cpp
test/Preprocessor/init.c