[PATCH] D116875: [clang-tidy] Add performance-inefficient-array-traversal check

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 15 02:28:55 PST 2022


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

Add support for array access `Arr[I * JExtent + J]`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116875

Files:
  clang-tools-extra/clang-tidy/performance/CMakeLists.txt
  clang-tools-extra/clang-tidy/performance/InefficientArrayTraversalCheck.cpp
  clang-tools-extra/clang-tidy/performance/InefficientArrayTraversalCheck.h
  clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-array-traversal.rst
  clang-tools-extra/test/clang-tidy/checkers/performance-inefficient-array-traversal.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116875.400266.patch
Type: text/x-patch
Size: 16824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220115/a3d7861f/attachment.bin>


More information about the cfe-commits mailing list