diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-08-12 22:40:53 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-08-12 22:40:53 +0000 |
commit | 5ae66e56cf0cff4e8cc8b4341767740521c77f6c (patch) | |
tree | 8c18b5cf713b2fa9bbca36b21b0710b4140999c3 /llvm/lib/TextAPI/MachO/TextStub.cpp | |
parent | 05c145d694f2b55d2b56b7049fffe90978af7b65 (diff) | |
download | bcm5719-llvm-5ae66e56cf0cff4e8cc8b4341767740521c77f6c.tar.gz bcm5719-llvm-5ae66e56cf0cff4e8cc8b4341767740521c77f6c.zip |
[aarch64] Apply llvm-prefer-register-over-unsigned from clang-tidy to LLVM
Summary:
This clang-tidy check is looking for unsigned integer variables whose initializer
starts with an implicit cast from llvm::Register and changes the type of the
variable to llvm::Register (dropping the llvm:: where possible).
Manual fixups in:
AArch64InstrInfo.cpp - genFusedMultiply() now takes a Register* instead of unsigned*
AArch64LoadStoreOptimizer.cpp - Ternary operator was ambiguous between Register/MCRegister. Settled on Register
Depends on D65919
Reviewers: aemerson
Subscribers: jholewinski, MatzeB, qcolombet, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, sbc100, jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton, fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision for full review was: https://reviews.llvm.org/D65962
llvm-svn: 368628
Diffstat (limited to 'llvm/lib/TextAPI/MachO/TextStub.cpp')
0 files changed, 0 insertions, 0 deletions