[PATCH] D74689: [clang-tidy] Better custom class support for performance-inefficient-vector-operation

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 17 04:08:54 PST 2020


njames93 updated this revision to Diff 244939.
njames93 added a comment.

- Added check if size() method is const for range loops
- Optimised FixItHint creation


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74689

Files:
  clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
  clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst
  clang-tools-extra/test/clang-tidy/checkers/performance-inefficient-vector-operation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74689.244939.patch
Type: text/x-patch
Size: 19227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200217/e1526724/attachment-0001.bin>


More information about the cfe-commits mailing list