summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-26 21:25:54 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-26 21:25:54 +0000
commit56d5f0abaa263e33c36339da925ebc4c3d14238c (patch)
treee81061b5ea433e9e9b2f28d62e24eae6c4895e56 /clang/lib
parentc83f9865a0dae4b290db05ee65e6e365651dc7b3 (diff)
downloadbcm5719-llvm-56d5f0abaa263e33c36339da925ebc4c3d14238c.tar.gz
bcm5719-llvm-56d5f0abaa263e33c36339da925ebc4c3d14238c.zip
Add __has_feature(cxx_reference_qualified_functions); update tests and
documentation. llvm-svn: 124322
Diffstat (limited to 'clang/lib')
-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 47a35bd153c..7727eafd73f 100644
--- a/clang/lib/Lex/PPMacroExpansion.cpp
+++ b/clang/lib/Lex/PPMacroExpansion.cpp
@@ -556,6 +556,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
.Case("cxx_inline_namespaces", LangOpts.CPlusPlus0x)
//.Case("cxx_lambdas", false)
//.Case("cxx_nullptr", false)
+ .Case("cxx_reference_qualified_functions", LangOpts.CPlusPlus0x)
.Case("cxx_rvalue_references", LangOpts.CPlusPlus0x)
.Case("cxx_strong_enums", LangOpts.CPlusPlus0x)
.Case("cxx_static_assert", LangOpts.CPlusPlus0x)
OpenPOWER on IntegriCloud