]> granicus.if.org Git - clang/commit
Added test cases for -Wfloat-equal to test comparisons against literals that can be
authorTed Kremenek <kremenek@apple.com>
Thu, 29 Nov 2007 01:00:11 +0000 (01:00 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 29 Nov 2007 01:00:11 +0000 (01:00 +0000)
commit9e7f0ecab98c1cec6e7a1600324780122b0c0347
treebd42acfd4607e37d1367aed2827a16ed79282584
parent1b500bb0d40aa3ebf1ace47340bb5f401a9ae99c
Added test cases for -Wfloat-equal to test comparisons against literals that can be
represented exactly and inexactly by APFloats. For the former, we do not emit a
warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44425 91177308-0d34-0410-b5e6-96231b3b80d8
test/Sema/floating-point-compare.c