From: Aaron Ballman Date: Fri, 24 Jul 2015 21:49:29 +0000 (+0000) Subject: Replacing some diagnostic string literals with tablegen equivalents because the wordi... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=423c227fa1eb27c8e0b5b8bac71ee99083c01a63;p=clang Replacing some diagnostic string literals with tablegen equivalents because the wording is identical; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243169 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 8a02b2ff53..f118600e8d 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -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, InGroup; 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; +def ext_override_exception_spec : ExtWarn, + InGroup; def err_incompatible_exception_specs : Error< "target exception specification is not superset of source">; def err_deep_exception_specs_differ : Error<