diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-10-12 19:26:40 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-10-12 19:26:40 +0000 |
commit | b3df1386680b3830d2f4d300d4d7eaba134135fc (patch) | |
tree | e834f821be27c7ddd62865125eb1bd5604d668a2 /test/SemaTemplate/temp_arg_nontype.cpp | |
parent | 46717308883538841da7059e72bc898abe0c8724 (diff) | |
download | clang-b3df1386680b3830d2f4d300d4d7eaba134135fc.tar.gz clang-b3df1386680b3830d2f4d300d4d7eaba134135fc.tar.bz2 clang-b3df1386680b3830d2f4d300d4d7eaba134135fc.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/temp_arg_nontype.cpp')
-rw-r--r-- | test/SemaTemplate/temp_arg_nontype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/temp_arg_nontype.cpp b/test/SemaTemplate/temp_arg_nontype.cpp index e93cfa3ebd..43fe38ba7c 100644 --- a/test/SemaTemplate/temp_arg_nontype.cpp +++ b/test/SemaTemplate/temp_arg_nontype.cpp @@ -7,7 +7,7 @@ A<int()> *a1; // expected-error{{template argument for non-type template paramet A<int> *a2; // expected-error{{template argument for non-type template parameter must be an expression}} -A<1 >> 2> *a3; // expected-warning{{use of right-shift operator ('>>') in template argument will require parentheses in C++0x}} +A<1 >> 2> *a3; // expected-warning{{use of right-shift operator ('>>') in template argument will require parentheses in C++11}} // C++ [temp.arg.nontype]p5: A<A> *a4; // expected-error{{must be an expression}} |