]> granicus.if.org Git - clang/commit
Added -Wfloat-equal option to the driver. This makes warnings about
authorTed Kremenek <kremenek@apple.com>
Tue, 13 Nov 2007 18:37:02 +0000 (18:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 13 Nov 2007 18:37:02 +0000 (18:37 +0000)
commitdb87bca211deed14f8d5bb9ef25b8e9ee5c8e139
tree5703930f1d2150e941f791accf4b6df5085256f7
parenta36c48676c0a48953c1a0885fa333be5851bbf94
Added -Wfloat-equal option to the driver.  This makes warnings about
floating point comparisons using == or != an opt-in rather than a default
warning.

Updated test case to use -Wfloat-equal.

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