diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-03-15 21:17:12 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-03-15 21:17:12 +0000 |
| commit | c17003c66b43cc0324398d736afe9f0afe8d31a9 (patch) | |
| tree | 5a1c6525b99cad707fa6da011a1b5f981ac3dfba /clang/lib/Lex | |
| parent | 865f8b592a0aacfd8f6b90fa4f79e660206c81e6 (diff) | |
| download | bcm5719-llvm-c17003c66b43cc0324398d736afe9f0afe8d31a9.tar.gz bcm5719-llvm-c17003c66b43cc0324398d736afe9f0afe8d31a9.zip | |
Create __has_feature(cxx_noexcept) and mark it as working.
Find out that our C++0x status has only one field for noexcept expression and specification together, and that it was accidentally already marked as fully implemented.
This completes noexcept specification work.
llvm-svn: 127701
Diffstat (limited to 'clang/lib/Lex')
| -rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index 10abfb4b83d..858090acb84 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -560,6 +560,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("cxx_deleted_functions", LangOpts.CPlusPlus0x) .Case("cxx_inline_namespaces", LangOpts.CPlusPlus0x) //.Case("cxx_lambdas", false) + .Case("cxx_noexcept", LangOpts.CPlusPlus0x) //.Case("cxx_nullptr", false) .Case("cxx_reference_qualified_functions", LangOpts.CPlusPlus0x) .Case("cxx_rvalue_references", LangOpts.CPlusPlus0x) |

