[PATCH] D131939: [clang-tidy] Add performance-expensive-flat-container-operation check

Nicolas van Kempen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 30 12:25:34 PDT 2022


nicovank updated this revision to Diff 464362.
nicovank added a comment.

Rename OnlyWarnInLoops to WarnOutsideLoops, cover missed cxxForRangeStmt


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131939

Files:
  clang-tools-extra/clang-tidy/performance/CMakeLists.txt
  clang-tools-extra/clang-tidy/performance/ExpensiveFlatContainerOperationCheck.cpp
  clang-tools-extra/clang-tidy/performance/ExpensiveFlatContainerOperationCheck.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/expensive-flat-container-operation.rst
  clang-tools-extra/test/clang-tidy/checkers/performance/expensive-flat-container-operation-warn-outside-loops.cpp
  clang-tools-extra/test/clang-tidy/checkers/performance/expensive-flat-container-operation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131939.464362.patch
Type: text/x-patch
Size: 31739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220930/c00c12d6/attachment-0001.bin>


More information about the cfe-commits mailing list