From f2598b5e91511f1c08219e3c8bae7ed211f011cb Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 14 Mar 2014 21:21:24 +0000 Subject: Add two missing entries to the C++11 support page. Bump one relevant diagnostic (for an integer too large for any signed type) from Warning to ExtWarn -- it's ill-formed in C++11 and C99 onwards, and UB during translation in C89 and C++98. Add diagnostic groups for two relevant diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203974 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticCommonKinds.td | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/clang/Basic/DiagnosticCommonKinds.td') diff --git a/include/clang/Basic/DiagnosticCommonKinds.td b/include/clang/Basic/DiagnosticCommonKinds.td index 09d43f382b..0430b1dc27 100644 --- a/include/clang/Basic/DiagnosticCommonKinds.td +++ b/include/clang/Basic/DiagnosticCommonKinds.td @@ -104,8 +104,9 @@ def warn_cxx98_compat_longlong : Warning< InGroup, DefaultIgnore; def err_integer_too_large : Error< "integer constant is larger than the largest unsigned integer type">; -def warn_integer_too_large_for_signed : Warning< - "integer constant is larger than the largest signed integer type">; +def ext_integer_too_large_for_signed : ExtWarn< + "integer constant is larger than the largest signed integer type">, + InGroup>; // Sema && AST def note_invalid_subexpr_in_const_expr : Note< -- cgit v1.2.3