diff options
| author | Anders Carlsson <andersca@mac.com> | 2011-03-25 15:04:23 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2011-03-25 15:04:23 +0000 |
| commit | 69f1f9391bf11589ad1704d586309a96ee132903 (patch) | |
| tree | 0ec4b60188c53ad46c8552c1058db7f0326f0b54 /clang/lib/Lex | |
| parent | 65c76d3826059d634f0627bf4034df9619dbb291 (diff) | |
| download | bcm5719-llvm-69f1f9391bf11589ad1704d586309a96ee132903.tar.gz bcm5719-llvm-69f1f9391bf11589ad1704d586309a96ee132903.zip | |
we can now claim to fully support the override control feature in C++0x.
llvm-svn: 128281
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 62d3dba5cc6..e1fc0ba88fc 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -562,6 +562,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { //.Case("cxx_lambdas", false) .Case("cxx_noexcept", LangOpts.CPlusPlus0x) //.Case("cxx_nullptr", false) + .Case("cxx_override_control", LangOpts.CPlusPlus0x) .Case("cxx_reference_qualified_functions", LangOpts.CPlusPlus0x) .Case("cxx_rvalue_references", LangOpts.CPlusPlus0x) .Case("cxx_strong_enums", LangOpts.CPlusPlus0x) |

