diff options
| author | Ted Kremenek <kremenek@apple.com> | 2007-10-29 16:58:49 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2007-10-29 16:58:49 +0000 |
| commit | 3ca0bf2a0ac27b1644ed73b8fc61077d2b9c6995 (patch) | |
| tree | 44139d61d221d673505144fa804cee9610e3f366 /CodeGen/CodeGenModule.h | |
| parent | 6cb812e186fe8786eaca6086d62564c8cab9e71e (diff) | |
For non-floating point types, added check for expressions of the form
"x == x" and "x != x". We emit a warning for these since they always evaluate
to a constant value and often indicate a logical error.
Added test case for this check.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
