Skip to content
Commit e451eae8 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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.

llvm-svn: 43450
parent d45e055f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment