diff options
author | Kaelyn Uhrain <rikka@google.com> | 2012-04-27 18:26:49 +0000 |
---|---|---|
committer | Kaelyn Uhrain <rikka@google.com> | 2012-04-27 18:26:49 +0000 |
commit | 3fe3f857699f03e9534b5e23aaa90638a6ff7360 (patch) | |
tree | 49b122a0cfb3c1274f62044fc15f5f879528351d /clang/test/Parser/cxx-using-declaration.cpp | |
parent | 6120cfb8cda42fe4ce36b2caf71db80ee9b94bc9 (diff) | |
download | llvm-3fe3f857699f03e9534b5e23aaa90638a6ff7360.zip llvm-3fe3f857699f03e9534b5e23aaa90638a6ff7360.tar.gz llvm-3fe3f857699f03e9534b5e23aaa90638a6ff7360.tar.bz2 |
Imrpove the note text for when a non-type decl hides a tag type
llvm-svn: 155723
Diffstat (limited to 'clang/test/Parser/cxx-using-declaration.cpp')
-rw-r--r-- | clang/test/Parser/cxx-using-declaration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx-using-declaration.cpp b/clang/test/Parser/cxx-using-declaration.cpp index 8c60b9b..320fd09 100644 --- a/clang/test/Parser/cxx-using-declaration.cpp +++ b/clang/test/Parser/cxx-using-declaration.cpp @@ -51,7 +51,7 @@ namespace foo { class Bar {}; } -void Bar(int); // expected-note{{non-type 'Bar' shadowing class 'Bar' declared here}} +void Bar(int); // expected-note{{class 'Bar' is hidden by a non-type declaration of 'Bar' here}} using foo::Bar; void ambiguity() { |