The matching did not work correctly for pointer and reference types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D114212
[clang-tidy] performance-unnecessary-copy-initialization: Correctly match the type name of the thisPointertype. ClosedPublic Authored by flx on Nov 18 2021, 5:37 PM.
Details Summary The matching did not work correctly for pointer and reference types.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 19 2021, 12:30 AM Closed by commit rGfefe20b99313: [clang-tidy] performance-unnecessary-copy-initialization: Correctly match the… (authored by flx). · Explain WhyNov 20 2021, 12:15 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 388721 clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
clang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization-excluded-container-types.cpp
|