diff options
author | Richard Trieu <rtrieu@google.com> | 2019-09-21 03:02:26 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2019-09-21 03:02:26 +0000 |
commit | dbb59f794229857ec4acc86f12f3f9172ec253f6 (patch) | |
tree | 25a8129b9adbbe158f87e6d84c477f5c5fae9f51 /lib/Parse/ParseOpenMP.cpp | |
parent | ca66650e21db892f1acb156d9f1d082591c0eaac (diff) | |
download | clang-dbb59f794229857ec4acc86f12f3f9172ec253f6.tar.gz |
Merge and improve code that detects same value in comparisons.
-Wtautological-overlap-compare and self-comparison from -Wtautological-compare
relay on detecting the same operand in different locations. Previously, each
warning had it's own operand checker. Now, both are merged together into
one function that each can call. The function also now looks through member
access and array accesses.
Differential Revision: https://reviews.llvm.org/D66045
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions