[PATCH] D126162: [clang-tidy] Extend SimplifyBooleanExpr demorgan support.
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 22 03:23:14 PDT 2022
njames93 created this revision.
njames93 added reviewers: aaron.ballman, alexfh, LegalizeAdulthood.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
njames93 requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Adds an option SimplifyDemorganRelaxed which, when enabled, will transform negated conjunctions or disjunctions when neither operand is a negation.
Default value is `false`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126162
Files:
clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
clang-tools-extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
clang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-demorgan.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126162.431224.patch
Type: text/x-patch
Size: 5030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220522/677b0c9d/attachment.bin>
More information about the cfe-commits
mailing list