diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-09-06 03:13:09 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-09-06 03:13:09 +0000 |
| commit | 9c5716c30d91212dcdea5e5c9b9ded9ed2439a09 (patch) | |
| tree | 5361ed4a7929b3225b4a950b8c8624ddb298f6fa /lib/CodeGen/CodeGenFunction.cpp | |
| parent | a33ab6074a2cc60fe895d6669f9ee776c5fea335 (diff) | |
| download | clang-9c5716c30d91212dcdea5e5c9b9ded9ed2439a09.tar.gz clang-9c5716c30d91212dcdea5e5c9b9ded9ed2439a09.tar.bz2 clang-9c5716c30d91212dcdea5e5c9b9ded9ed2439a09.tar.xz | |
Add self-comparison warnings for fields.
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>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
