llvm-project/clang-tools-extra/clang-tidy/llvm
Daniel Sanders 5b4f640499 [clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy
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).

Reviewers: arsenm, bogner

Subscribers: jholewinski, MatzeB, qcolombet, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, mgorny, 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, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D65919

llvm-svn: 370512
2019-08-30 20:01:59 +00:00
..
CMakeLists.txt [clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy 2019-08-30 20:01:59 +00:00
HeaderGuardCheck.cpp [clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check' 2019-05-10 18:27:09 +00:00
HeaderGuardCheck.h [clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check' 2019-05-10 18:27:09 +00:00
IncludeOrderCheck.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
IncludeOrderCheck.h [clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check' 2019-05-10 18:27:09 +00:00
LLVMTidyModule.cpp [clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy 2019-08-30 20:01:59 +00:00
PreferIsaOrDynCastInConditionalsCheck.cpp [clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check' 2019-05-10 18:27:09 +00:00
PreferIsaOrDynCastInConditionalsCheck.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
PreferRegisterOverUnsignedCheck.cpp [clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy 2019-08-30 20:01:59 +00:00
PreferRegisterOverUnsignedCheck.h [clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy 2019-08-30 20:01:59 +00:00
TwineLocalCheck.cpp [clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check' 2019-05-10 18:27:09 +00:00
TwineLocalCheck.h [clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check' 2019-05-10 18:27:09 +00:00