aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-04-27 22:50:22 +0000
committerNico Weber <nicolasweber@gmx.de>2012-04-27 22:50:22 +0000
commitd92fe8f8951fc028fe83a2d9824b4e3c1a9aed82 (patch)
tree5ae8b0912e56773b04d266c1919c1c1f397a14e4
parent27fc81b580f75aeddf6d94d05a86576f1d9c4693 (diff)
Make the diagnostic for "unexpected ':' in nested name specifier" a bit easier on the eyes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155741 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/DiagnosticParseKinds.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td
index 957f05b664..15c93e3b2f 100644
--- a/include/clang/Basic/DiagnosticParseKinds.td
+++ b/include/clang/Basic/DiagnosticParseKinds.td
@@ -311,7 +311,7 @@ def err_templated_using_directive : Error<
def err_templated_using_declaration : Error<
"cannot template a using declaration">;
def err_unexected_colon_in_nested_name_spec : Error<
- "unexpected ':' in nested name specifier">;
+ "unexpected ':' in nested name specifier; did you mean '::'?">;
def err_bool_redeclaration : Error<
"redeclaration of C++ built-in type 'bool'">;
def ext_c11_static_assert : Extension<