diff options
author | Richard Trieu <rtrieu@google.com> | 2015-09-18 23:18:39 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2015-09-18 23:18:39 +0000 |
commit | 818eee6f0def34260494d3450f2b049bd80ab3e2 (patch) | |
tree | a8f4f819e4a4b2dc9a4a76c951632851712db57d /include/clang/Basic/DiagnosticLexKinds.td | |
parent | c15da610ac7f74bbac57c8b14388cd7684e5ed5a (diff) |
Split off the binary literal warning into a subgroup of C++14 warnings
Binary literals predate C++14, but they are listed as a C++14 extension since
this was the first time they were standardized in the language. Move the
warning into a subgroup so it can be selectively disabled when checking for
other C++14 features.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticLexKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 712ea63ae8..3384a34d61 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -184,7 +184,7 @@ def ext_hexconstant_invalid : Extension< def ext_binary_literal : Extension< "binary integer literals are a GNU extension">, InGroup<GNUBinaryLiteral>; def ext_binary_literal_cxx14 : Extension< - "binary integer literals are a C++14 extension">, InGroup<CXX14>; + "binary integer literals are a C++14 extension">, InGroup<CXX14BinaryLiteral>; def warn_cxx11_compat_binary_literal : Warning< "binary integer literals are incompatible with C++ standards before C++14">, InGroup<CXXPre14CompatPedantic>, DefaultIgnore; |