aboutsummaryrefslogtreecommitdiff
path: root/Driver/SerializationTest.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-11-29 00:59:04 +0000
committerTed Kremenek <kremenek@apple.com>2007-11-29 00:59:04 +0000
commit1b500bb0d40aa3ebf1ace47340bb5f401a9ae99c (patch)
tree8bdd287f79862e9c2b4c7447f327cc699181b7cb /Driver/SerializationTest.cpp
parent720c4ec57b6110873cd533ad434853a27e7c3f4a (diff)
Enhanced implementation of -Wfloat-equal to check for comparisons against
floating-point literals that are represented exactly by the APFloat in FloatingLiteral. For such literals, we do not emit a warning since such checks are often performed in real code to see if a variable has changed from its original value. This heuristic clearly can lead to false negatives, but the hope is it will significantly reduce false positives to help make the compiler flag more useful. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/SerializationTest.cpp')
0 files changed, 0 insertions, 0 deletions