]> granicus.if.org Git - clang/commit
Don't warn about use of hex floats in c++ mode by default,
authorChris Lattner <sabre@nondot.org>
Thu, 20 May 2010 23:33:51 +0000 (23:33 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 20 May 2010 23:33:51 +0000 (23:33 +0000)
commitac0f5e5ed0a45ac96a5958e5832e4bdb45734324
treeea61195c980eca3e2afecc48318f498635ebfac6
parentf1860e5c381a2710fcebe6d55d799c6b25c21041
Don't warn about use of hex floats in c++ mode by default,
matching G++'s behavior.

Warn when -pedantic or -Wc++-hex-floats is passed, and
don't warn if -pedantic -Wno-c++-hex-floats are both passed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104295 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
test/Lexer/hexfloat.cpp