This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

flx created this revision.Nov 18 2021, 5:37 PM
flx requested review of this revision.Nov 18 2021, 5:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2021, 5:37 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
courbet accepted this revision.Nov 19 2021, 12:30 AM
This revision is now accepted and ready to land.Nov 19 2021, 12:30 AM