[PATCH] D127114: new clang-tidy checker for assignments within condition clause of if statement
dodohand via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 6 07:39:49 PDT 2022
dodohand created this revision.
Herald added subscribers: carlosgalvezp, mgorny.
Herald added a project: All.
dodohand requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
new clang-tidy checker for assignments with the condition clause of an 'if' statement.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127114
Files:
clang-tools-extra/clang-tidy/misc/AssignmentInIfClauseCheck.cpp
clang-tools-extra/clang-tidy/misc/AssignmentInIfClauseCheck.h
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/misc-assignment-in-if-clause.rst
clang-tools-extra/test/clang-tidy/checkers/misc-assignment-in-if-clause.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127114.434472.patch
Type: text/x-patch
Size: 11263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220606/6ddf48fe/attachment-0001.bin>
More information about the cfe-commits
mailing list