aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorKristof Umann <kristof.umann@ericsson.com>2019-05-15 15:06:25 +0000
committerKristof Umann <kristof.umann@ericsson.com>2019-05-15 15:06:25 +0000
commit7f7dd09001301edf328b7e01c30c8bb03bdc8c57 (patch)
tree7001ff27d6577287158604f9a06d34da098d74a8 /llvm/lib/CodeGen/MachineOperand.cpp
parent29257eb76c8dc733d48a16765c621e5af21a8247 (diff)
downloadllvm-7f7dd09001301edf328b7e01c30c8bb03bdc8c57.zip
llvm-7f7dd09001301edf328b7e01c30c8bb03bdc8c57.tar.gz
llvm-7f7dd09001301edf328b7e01c30c8bb03bdc8c57.tar.bz2
[clang-tidy] new check: bugprone-branch-clone
Implement a check for detecting if/else if/else chains where two or more branches are Type I clones of each other (that is, they contain identical code) and for detecting switch statements where two or more consecutive branches are Type I clones of each other. Patch by DonĂ¡t Nagy! Differential Revision: https://reviews.llvm.org/D54757 llvm-svn: 360779
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions