]> granicus.if.org Git - clang/commitdiff
Make the diagnostic for "unexpected ':' in nested name specifier" a bit easier on...
authorNico Weber <nicolasweber@gmx.de>
Fri, 27 Apr 2012 22:50:22 +0000 (22:50 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 27 Apr 2012 22:50:22 +0000 (22:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155741 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticParseKinds.td

index 957f05b664265c2026ae06301ff0198dd340fbe9..15c93e3b2f9a122e052fe06ac493793445e194d4 100644 (file)
@@ -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<