[PATCH] D72553: [clang-tidy] Add performance-prefer-preincrement check
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 27 07:43:41 PST 2020
njames93 updated this revision to Diff 240584.
njames93 marked an inline comment as done.
njames93 added a comment.
- Added test case when the inc and dec operators are found in a base class
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72553/new/
https://reviews.llvm.org/D72553
Files:
clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
clang-tools-extra/clang-tidy/performance/CMakeLists.txt
clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
clang-tools-extra/clang-tidy/performance/PreferPreIncrementCheck.cpp
clang-tools-extra/clang-tidy/performance/PreferPreIncrementCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/llvm-prefer-pre-increment.rst
clang-tools-extra/docs/clang-tidy/checks/performance-prefer-pre-increment.rst
clang-tools-extra/test/clang-tidy/checkers/Inputs/performance-prefer-pre-increment/iterator.h
clang-tools-extra/test/clang-tidy/checkers/performance-prefer-pre-increment-disable-cpp-opcalls.cpp
clang-tools-extra/test/clang-tidy/checkers/performance-prefer-pre-increment.c
clang-tools-extra/test/clang-tidy/checkers/performance-prefer-pre-increment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72553.240584.patch
Type: text/x-patch
Size: 24853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200127/a4a4a34e/attachment-0001.bin>
More information about the cfe-commits
mailing list