]> granicus.if.org Git - clang/commit
Split off the binary literal warning into a subgroup of C++14 warnings
authorRichard Trieu <rtrieu@google.com>
Fri, 18 Sep 2015 23:18:39 +0000 (23:18 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 18 Sep 2015 23:18:39 +0000 (23:18 +0000)
commit818eee6f0def34260494d3450f2b049bd80ab3e2
treea8f4f819e4a4b2dc9a4a76c951632851712db57d
parentc15da610ac7f74bbac57c8b14388cd7684e5ed5a
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
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticLexKinds.td
test/Lexer/warn_binary_literals.cpp [new file with mode: 0644]