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 | c8b9f7977094d0169ec59f9042e85ca854735299 (patch) | |
tree | b8d12d3d367b0d8c195fa98f9371851710327c97 /lib/Lex/PPMacroExpansion.cpp | |
parent | 1d20927fd0a08c26ef0e86e26f42073fd582ff77 (diff) |
we can now claim to fully support the override control feature in C++0x.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PPMacroExpansion.cpp')
-rw-r--r-- | lib/Lex/PPMacroExpansion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Lex/PPMacroExpansion.cpp b/lib/Lex/PPMacroExpansion.cpp index 62d3dba5cc..e1fc0ba88f 100644 --- a/lib/Lex/PPMacroExpansion.cpp +++ b/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) |