From 9033092415117a67305052d4ac4d94a9e9bfc70d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 4 Apr 2012 06:47:16 +0000 Subject: [PATCH] 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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154000 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticSemaKinds.td | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index dc9eb4555d..9bd3ec165b 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -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< -- 2.40.0