summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/self-comparison.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Fix <rdar://problem/6703892> by not warning about self-comparisons of enumTed Kremenek2009-03-201-0/+8
| | | | | | constants. llvm-svn: 67390
* Added to test case for "self-comparison check" uses of relation operators: x ↵Ted Kremenek2007-10-291-1/+9
| | | | | | | | < x and x > x should emit warnings. llvm-svn: 43451
* For non-floating point types, added check for expressions of the formTed Kremenek2007-10-291-0/+17
"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
OpenPOWER on IntegriCloud