From: Douglas Gregor Date: Tue, 12 May 2009 20:24:52 +0000 (+0000) Subject: Diagnostic wording fix, from Anders Johnsen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2df0716635965580ac3f63a1799332e6c02d86d9;p=clang Diagnostic wording fix, from Anders Johnsen git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71584 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index aaaad13b12..4c7a11668f 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -280,7 +280,7 @@ def err_mutable_nonmember : Error< def err_virtual_non_function : Error< "'virtual' can only appear on non-static member functions">; def err_explicit_non_function : Error< - "'virtual' can only appear on non-static member functions">; + "'explicit' can only appear on non-static member functions">; def err_virtual_out_of_class : Error< "'virtual' can only be specified inside the class definition">; def err_static_not_bitfield : Error<"static member %0 cannot be a bit-field">;