[cfe-commits] r155741 - /cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
Nico Weber
nicolasweber at gmx.de
Fri Apr 27 15:50:22 PDT 2012
Author: nico
Date: Fri Apr 27 17:50:22 2012
New Revision: 155741
URL: http://llvm.org/viewvc/llvm-project?rev=155741&view=rev
Log:
Make the diagnostic for "unexpected ':' in nested name specifier" a bit easier on the eyes.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td?rev=155741&r1=155740&r2=155741&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td Fri Apr 27 17:50:22 2012
@@ -311,7 +311,7 @@
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<
More information about the cfe-commits
mailing list