aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-04 06:47:16 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-04 06:47:16 +0000
commit9033092415117a67305052d4ac4d94a9e9bfc70d (patch)
tree5a725f9abd31b5acbb2a9b35ce75e7c9af913922
parent5a5a971908a1fd064454db44c42333a3aecf3d5b (diff)
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
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td9
1 files 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<