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/auto-cxx0x.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/auto-cxx0x.cpp')
-rw-r--r-- | test/SemaCXX/auto-cxx0x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/auto-cxx0x.cpp b/test/SemaCXX/auto-cxx0x.cpp index a7bb3e64e4..fb9f50919a 100644 --- a/test/SemaCXX/auto-cxx0x.cpp +++ b/test/SemaCXX/auto-cxx0x.cpp @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x void f() { - auto int a; // expected-warning {{'auto' storage class specifier is not permitted in C++0x, and will not be supported in future releases}} + auto int a; // expected-warning {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}} int auto b; // expected-error{{cannot combine with previous 'int' declaration specifier}} } |