Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add self-comparison warnings for fields. | Eli Friedman | 2013-09-06 | 1 | -0/+12 |
This expands very slightly what -Wtautological-compare considers to be tautological to include implicit accesses to C++ fields and ObjC ivars. I don't want to turn this into a full expression-identity check, but these additions seem pretty well-contained, and maintain the theme of checking for "x == x". <rdar://problem/14431127> llvm-svn: 190118 |