aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
diff options
context:
space:
mode:
authorGabor Bencze <b.gabor98@gmail.com>2019-12-15 16:25:54 +0100
committerGabor Bencze <b.gabor98@gmail.com>2019-12-15 16:30:14 +0100
commitbbc9f6c2ef074668374e06a5de471413afd2ee4b (patch)
tree64e631f39269307d63e293c02c9393f1cd99a1a8 /llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
parent6080387f136af5a51bbc310abb08c7158d7cd9d2 (diff)
downloadllvm-bbc9f6c2ef074668374e06a5de471413afd2ee4b.zip
llvm-bbc9f6c2ef074668374e06a5de471413afd2ee4b.tar.gz
llvm-bbc9f6c2ef074668374e06a5de471413afd2ee4b.tar.bz2
[clang-tidy] Add cert-oop58-cpp check
The check warns when (a member of) the copied object is assigned to in a copy constructor or copy assignment operator. Based on https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP58-CPP.+Copy+operations+must+not+mutate+the+source+object Differential Revision: https://reviews.llvm.org/D70052
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/MCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions