aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2012-04-27 18:26:49 +0000
committerKaelyn Uhrain <rikka@google.com>2012-04-27 18:26:49 +0000
commit392b3f5798a62fe038082df0a5e2244b08b917d8 (patch)
tree61d84e5f2e43d5410ac9e1cb1bcdcf383468926e /include/clang/Basic
parent4e47dee72a19fbc4db256361f0e4056992551c53 (diff)
Imrpove the note text for when a non-type decl hides a tag type
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r--include/clang/Basic/DiagnosticCommonKinds.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticCommonKinds.td b/include/clang/Basic/DiagnosticCommonKinds.td
index c1c933198d..ef0232e63d 100644
--- a/include/clang/Basic/DiagnosticCommonKinds.td
+++ b/include/clang/Basic/DiagnosticCommonKinds.td
@@ -74,8 +74,8 @@ def err_module_cycle : Error<"cyclic dependency in module '%0': %1">,
def warn_module_build : Warning<"building module '%0' from source">,
InGroup<ModuleBuild>, DefaultIgnore;
def note_pragma_entered_here : Note<"#pragma entered here">;
-def note_decl_shadowing_tag_type : Note<
- "non-type %0 shadowing %1 %0 declared here">;
+def note_decl_hiding_tag_type : Note<
+ "%1 %0 is hidden by a non-type declaration of %0 here">;
// Sema && Lex
def ext_longlong : Extension<