]> granicus.if.org Git - clang/commitdiff
Diagnostic wording fix, from Anders Johnsen
authorDouglas Gregor <dgregor@apple.com>
Tue, 12 May 2009 20:24:52 +0000 (20:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 12 May 2009 20:24:52 +0000 (20:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71584 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index aaaad13b1289ca9eaf3c47339966144527df1c53..4c7a11668f7af7472400b5c86a81074f576340c2 100644 (file)
@@ -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">;