[PATCH] D130181: [clang-tidy] Add readability-use-early-exits check
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 22 17:02:50 PDT 2023
njames93 added a comment.
In D130181#4213779 <https://reviews.llvm.org/D130181#4213779>, @LegalizeAdulthood wrote:
> I'm not certain that the result of the transformation is more "readable"; is this check intended to aid conformance to a style guide?
One of the driving factors of this is that it can be used to remove nesting levels, which can definitely aid with readability.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130181/new/
https://reviews.llvm.org/D130181
More information about the cfe-commits
mailing list