Fixes https://llvm.org/PR50157
Adds support for when the container being read from in a range-for is a member of a struct.
Paths
| Differential D101624
[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 TimelineComment Actions 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 Closed by commit rG0e0b0feff194: [clang-tidy] Make performance-inefficient-vector-operation work on members (authored by njames93). · Explain WhyApr 8 2022, 6:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 421508 clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/performance-inefficient-vector-operation.cpp
|