summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-03-25 15:04:23 +0000
committerAnders Carlsson <andersca@mac.com>2011-03-25 15:04:23 +0000
commit69f1f9391bf11589ad1704d586309a96ee132903 (patch)
tree0ec4b60188c53ad46c8552c1058db7f0326f0b54 /clang/lib/Lex
parent65c76d3826059d634f0627bf4034df9619dbb291 (diff)
downloadbcm5719-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.cpp1
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)
OpenPOWER on IntegriCloud