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/Sema | |
| 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/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index ec950d18421..28b3aa8013e 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -569,7 +569,7 @@ Corrected: if (LookupParsedName(R, S, &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) << Name << TagName; } break; |

