This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Make performance-inefficient-vector-operation work on members
ClosedPublic

Authored by njames93 on Apr 30 2021, 6:32 AM.

Details

Summary

Fixes https://llvm.org/PR50157

Adds support for when the container being read from in a range-for is a member of a struct.

Diff Detail

Event Timeline

njames93 created this revision.Apr 30 2021, 6:32 AM
njames93 requested review of this revision.Apr 30 2021, 6:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 30 2021, 6:32 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MTC added a subscriber: MTC.Aug 16 2021, 7:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2022, 12:15 PM
aaron.ballman accepted this revision.Apr 8 2022, 5:09 AM

Sorry, this fell off my radar! LGTM, but please add a release note for the fix when landing.

This revision is now accepted and ready to land.Apr 8 2022, 5:09 AM