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/SemaCXX/cxx0x-return-init-list.cpp | |
parent | 46717308883538841da7059e72bc898abe0c8724 (diff) |
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/SemaCXX/cxx0x-return-init-list.cpp')
-rw-r--r-- | test/SemaCXX/cxx0x-return-init-list.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaCXX/cxx0x-return-init-list.cpp b/test/SemaCXX/cxx0x-return-init-list.cpp index 2005a7f9f6..b786922b71 100644 --- a/test/SemaCXX/cxx0x-return-init-list.cpp +++ b/test/SemaCXX/cxx0x-return-init-list.cpp @@ -1,17 +1,17 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // This test checks for a teeny tiny subset of the functionality in -// the C++0x generalized initializer lists feature, which happens to +// the C++11 generalized initializer lists feature, which happens to // be used in libstdc++ 4.5. We accept only this syntax so that Clang // can handle the libstdc++ 4.5 headers. int test0(int i) { - return { i }; // expected-warning{{generalized initializer lists are a C++0x extension unsupported in Clang}} + return { i }; // expected-warning{{generalized initializer lists are a C++11 extension unsupported in Clang}} } template<typename T, typename U> T test1(U u) { - return { u }; // expected-warning{{generalized initializer lists are a C++0x extension unsupported in Clang}} + return { u }; // expected-warning{{generalized initializer lists are a C++11 extension unsupported in Clang}} } template int test1(char); |