From f0248a0e7da77578158684812de9784977299012 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 24 Jul 2015 21:49:29 +0000 Subject: [PATCH] Replacing some diagnostic string literals with tablegen equivalents because the wording is identical; NFC. llvm-svn: 243169 --- clang/include/clang/Basic/DiagnosticSemaKinds.td | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index 8a02b2ff5387..f118600e8dad 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/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<