diff options
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index ec950d1842..28b3aa8013 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/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; |