[PATCH] D67135: Support proto repeated field in performence-inefficient-vector-operation

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 17:40:16 PDT 2019


Eugene.Zelenko added a comment.

Please mention new option in Release Notes.



================
Comment at: clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst:9
 
+When EnableProto, also finds calls that add element to protobuf repeated field
+in a loop without calling Reserve() before the loop. Calling Reserve() first
----------------
See other checks documentation as example of options descriptions.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67135/new/

https://reviews.llvm.org/D67135





More information about the cfe-commits mailing list