summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx0x-in-cxx98.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-10-12 19:26:40 +0000
committerDouglas Gregor <dgregor@apple.com>2011-10-12 19:26:40 +0000
commit205d0445529eb985a1485ff8e2a18908f75f3bb1 (patch)
tree1946bda6471b8cbf87608d10ead284d1c7a2c122 /clang/test/Parser/cxx0x-in-cxx98.cpp
parentde2ff3b64ec0eea6a3974f5001917baeed24ec10 (diff)
downloadbcm5719-llvm-205d0445529eb985a1485ff8e2a18908f75f3bb1.tar.gz
bcm5719-llvm-205d0445529eb985a1485ff8e2a18908f75f3bb1.zip
Switch diagnostic text from "C++0x" over to "C++11".
We'd also like for "C++11" or "c++11" to be used for the warning groups, but without removing the old warning flags. Patches welcome; I've run out of time to work on this today. llvm-svn: 141801
Diffstat (limited to 'clang/test/Parser/cxx0x-in-cxx98.cpp')
-rw-r--r--clang/test/Parser/cxx0x-in-cxx98.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Parser/cxx0x-in-cxx98.cpp b/clang/test/Parser/cxx0x-in-cxx98.cpp
index e0cbc23f581..9e41a700a98 100644
--- a/clang/test/Parser/cxx0x-in-cxx98.cpp
+++ b/clang/test/Parser/cxx0x-in-cxx98.cpp
@@ -1,10 +1,10 @@
// RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
-inline namespace N { // expected-warning{{inline namespaces are a C++0x feature}}
+inline namespace N { // expected-warning{{inline namespaces are a C++11 feature}}
struct X {
- template<typename ...Args> // expected-warning{{variadic templates are a C++0x extension}}
- void f(Args &&...) &; // expected-warning{{rvalue references are a C++0x extension}} \
- // expected-warning{{reference qualifiers on functions are a C++0x extension}}
+ template<typename ...Args> // expected-warning{{variadic templates are a C++11 extension}}
+ void f(Args &&...) &; // expected-warning{{rvalue references are a C++11 extension}} \
+ // expected-warning{{reference qualifiers on functions are a C++11 extension}}
};
}
OpenPOWER on IntegriCloud