[PATCH] D130181: [clang-tidy] Add readability-use-early-exits check
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 25 02:07:53 PDT 2022
njames93 updated this revision to Diff 447236.
njames93 added a comment.
Add option `SplitConjunctions` to alter fix-it for `if` statements with `&&` in the condition.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130181/new/
https://reviews.llvm.org/D130181
Files:
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tools-extra/clang-tidy/readability/UseEarlyExitsCheck.cpp
clang-tools-extra/clang-tidy/readability/UseEarlyExitsCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/readability/use-early-exits.rst
clang-tools-extra/test/clang-tidy/checkers/readability/use-early-exits-braces.cpp
clang-tools-extra/test/clang-tidy/checkers/readability/use-early-exits-split.cpp
clang-tools-extra/test/clang-tidy/checkers/readability/use-early-exits.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130181.447236.patch
Type: text/x-patch
Size: 26441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220725/708a61a0/attachment-0001.bin>
More information about the cfe-commits
mailing list