[cfe-commits] r154000 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Richard Smith richard-llvm at metafoo.co.uk
Tue Apr 3 23:47:16 PDT 2012


Author: rsmith
Date: Wed Apr  4 01:47:16 2012
New Revision: 154000

URL: http://llvm.org/viewvc/llvm-project?rev=154000&view=rev
Log:
Fix diagnostic typos: "non-template arguments" vs "non-type template arguments".
No test updates: we don't appear to have any test coverage for these diagnostics!

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=154000&r1=153999&r2=154000&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Wed Apr  4 01:47:16 2012
@@ -2359,13 +2359,14 @@
 def err_template_arg_method : Error<
   "non-type template argument refers to non-static member function %0">;
 def err_template_arg_function_not_extern : Error<
-  "non-template argument refers to function %0 with internal linkage">;
+  "non-type template argument refers to function %0 with internal linkage">;
 def err_template_arg_object_not_extern : Error<
-  "non-template argument refers to object %0 that does not have external "
+  "non-type template argument refers to object %0 that does not have external "
   "linkage">;
 def note_template_arg_internal_object : Note<
-  "non-template argument refers to %select{function|object}0 here">;
-def note_template_arg_refers_here : Note<"non-template argument refers here">;
+  "non-type template argument refers to %select{function|object}0 here">;
+def note_template_arg_refers_here : Note<
+  "non-type template argument refers here">;
 def err_template_arg_not_object_or_func : Error<
   "non-type template argument does not refer to an object or function">;
 def err_template_arg_not_pointer_to_member_form : Error<





More information about the cfe-commits mailing list