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/lib/Parse | |
| parent | 6120cfb8cda42fe4ce36b2caf71db80ee9b94bc9 (diff) | |
| download | bcm5719-llvm-3fe3f857699f03e9534b5e23aaa90638a6ff7360.tar.gz bcm5719-llvm-3fe3f857699f03e9534b5e23aaa90638a6ff7360.zip | |
Imrpove the note text for when a non-type decl hides a tag type
llvm-svn: 155723
Diffstat (limited to 'clang/lib/Parse')
| -rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 134bc97a1b6..1c0815a669b 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -1683,7 +1683,7 @@ bool Parser::ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS, if (Actions.LookupParsedName(R, getCurScope(), SS)) { for (LookupResult::iterator I = R.begin(), IEnd = R.end(); I != IEnd; ++I) - Diag((*I)->getLocation(), diag::note_decl_shadowing_tag_type) + Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type) << TokenName << TagName; } |

