[all-commits] [llvm/llvm-project] 0e0b0f: [clang-tidy] Make performance-inefficient-vector-o...
Nathan James via All-commits
all-commits at lists.llvm.org
Fri Apr 8 06:18:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e0b0feff194358e5e68bf36f5a563d269fa8e88
https://github.com/llvm/llvm-project/commit/0e0b0feff194358e5e68bf36f5a563d269fa8e88
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2022-04-08 (Fri, 08 Apr 2022)
Changed paths:
M clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/performance-inefficient-vector-operation.cpp
Log Message:
-----------
[clang-tidy] Make performance-inefficient-vector-operation work on members
Fixes https://llvm.org/PR50157
Adds support for when the container being read from in a range-for is a member of a struct.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D101624
More information about the All-commits
mailing list