[PATCH] D120814: [clang-tidy] Add check to perfer pre-increment over post-increment

Nikolas Klauser via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 2 07:22:46 PST 2022


philnik created this revision.
philnik added reviewers: aaron.ballman, JonasToth.
Herald added subscribers: carlosgalvezp, xazax.hun, mgorny.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120814

Files:
  clang-tools-extra/clang-tidy/performance/CMakeLists.txt
  clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
  clang-tools-extra/clang-tidy/performance/UsePreincrementCheck.cpp
  clang-tools-extra/clang-tidy/performance/UsePreincrementCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang-tools-extra/docs/clang-tidy/checks/performance-use-preincrement.rst
  clang-tools-extra/test/clang-tidy/checkers/performance-use-preincrement.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120814.412409.patch
Type: text/x-patch
Size: 7929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220302/b00b24ab/attachment.bin>


More information about the cfe-commits mailing list