Author: aaronballman
Date: Fri Jul 24 16:49:29 2015
New Revision: 243169
URL: http://llvm.org/viewvc/llvm-project?rev=243169&view=rev
Log:
Replacing some diagnostic string literals with tablegen equivalents because the
wording is identical; NFC.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=243169&r1=243168&r2=243169&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Fri Jul 24 16:49:29
2015
@@ -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<
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits