diff options
author | Felix Berger <flx@google.com> | 2021-07-14 16:11:55 -0400 |
---|---|---|
committer | Felix Berger <flx@google.com> | 2021-07-22 15:17:24 -0400 |
commit | 00edae9203c9a4f50da058d4bd25dc2e6a4930c1 (patch) | |
tree | b34e61afd5f69b1f8acfb2e35d2d0c0b0dbe1f81 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | e8da9639228612fd362c77fcd1c40a38ae59eb3e (diff) | |
download | llvm-00edae9203c9a4f50da058d4bd25dc2e6a4930c1.zip llvm-00edae9203c9a4f50da058d4bd25dc2e6a4930c1.tar.gz llvm-00edae9203c9a4f50da058d4bd25dc2e6a4930c1.tar.bz2 |
[clang-tidy] performance-unnecessary-copy-initialization: Disable check when variable and initializer have different replaced template param types.
This can happen when a template with two parameter types is instantiated with a
single type. The fix would only be valid for this instantiation but fail for
others that rely on an implicit type conversion.
The test cases illustrate when the check should trigger and when not.
Differential Revision: https://reviews.llvm.org/D106011
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions