]> granicus.if.org Git - clang/commitdiff
Replacing some diagnostic string literals with tablegen equivalents because the wordi...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 24 Jul 2015 21:49:29 +0000 (21:49 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 24 Jul 2015 21:49:29 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243169 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 8a02b2ff538758dd035850d24f16de4f142367e8..f118600e8dade1381bd1df194b601e5f7c8b48df 100644 (file)
@@ -1137,15 +1137,13 @@ def err_rref_in_exception_spec : Error<
   "rvalue reference type %0 is not allowed in exception specification">;
 def err_mismatched_exception_spec : Error<
   "exception specification in declaration does not match previous declaration">;
-def ext_mismatched_exception_spec : ExtWarn<
-  "exception specification in declaration does not match previous declaration">,
+def ext_mismatched_exception_spec : ExtWarn<err_mismatched_exception_spec.Text>,
   InGroup<Microsoft>;
 def err_override_exception_spec : Error<
   "exception specification of overriding function is more lax than "
   "base version">;
-def ext_override_exception_spec : ExtWarn<
-  "exception specification of overriding function is more lax than "
-  "base version">, InGroup<Microsoft>;
+def ext_override_exception_spec : ExtWarn<err_override_exception_spec.Text>,
+  InGroup<Microsoft>;
 def err_incompatible_exception_specs : Error<
   "target exception specification is not superset of source">;
 def err_deep_exception_specs_differ : Error<