Adds an option SimplifyDemorganRelaxed which, when enabled, will transform negated conjunctions or disjunctions when neither operand is a negation.
Default value is false.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D126162
[clang-tidy] Extend SimplifyBooleanExpr demorgan support. ClosedPublic Authored by njames93 on May 22 2022, 3:23 AM.
Details Summary Adds an option SimplifyDemorganRelaxed which, when enabled, will transform negated conjunctions or disjunctions when neither operand is a negation.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 23 2022, 7:50 AM This revision was landed with ongoing or failed builds.May 25 2022, 5:09 AM Closed by commit rGf3c1d281767a: [clang-tidy] Extend SimplifyBooleanExpr demorgan support. (authored by njames93). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 431946 clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
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
|