]> granicus.if.org Git - clang/commitdiff
Fix diagnostic typos: "non-template arguments" vs "non-type template arguments".
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 4 Apr 2012 06:47:16 +0000 (06:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 4 Apr 2012 06:47:16 +0000 (06:47 +0000)
No test updates: we don't appear to have any test coverage for these diagnostics!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154000 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index dc9eb4555d21bdb47835f09677103f4cbdb67cec..9bd3ec165b1223bf9ce81d9d72a85ff086be6ad1 100644 (file)
@@ -2359,13 +2359,14 @@ def err_template_arg_field : Error<
 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<