[PATCH] D67135: [clang-tidy] performance-inefficient-vector-operation: Support proto repeated field
Cong Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 14:39:48 PDT 2019
congliu updated this revision to Diff 219180.
congliu marked 7 inline comments as done.
congliu added a comment.
Addressed Haojian's comments.
- Do not warn when there is reference to the proto variable between its declaration and the loop body.
- Exclude const methods.
- Update tests.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67135/new/
https://reviews.llvm.org/D67135
Files:
clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.h
clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst
clang-tools-extra/test/clang-tidy/performance-inefficient-vector-operation.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67135.219180.patch
Type: text/x-patch
Size: 18124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190906/470709a8/attachment-0001.bin>
More information about the cfe-commits
mailing list