Enable control flow pruning of float overflow warnings.
authorRichard Trieu <rtrieu@google.com>
Mon, 14 May 2018 23:21:48 +0000 (23:21 +0000)
committerRichard Trieu <rtrieu@google.com>
Mon, 14 May 2018 23:21:48 +0000 (23:21 +0000)
commita2b8fe660404a9594363e7b9721c1df4f27fd500
tree6aebb6c8006161162f728dba0776fadd879bc9ca
parent9ae56b9a0e2f9769eddcbfb16feff28fce773edb
Enable control flow pruning of float overflow warnings.

Like other conversion warnings, allow float overflow warnings to be disabled
in known dead paths of template instantiation.  This often occurs when a
template template type is a numeric type and the template will check the
range of the numeric type before performing the conversion.

llvm-svn: 332310
clang/lib/Sema/SemaChecking.cpp
clang/test/SemaCXX/warn-float-conversion.cpp