[PATCH] D124650: [clang-tidy] Simplify boolean expressions by DeMorgan's theorem

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 29 14:08:33 PDT 2022


LegalizeAdulthood updated this revision to Diff 426163.
LegalizeAdulthood added a comment.

Surround replacements with parens


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124650/new/

https://reviews.llvm.org/D124650

Files:
  clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
  clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
  clang-tools-extra/docs/ReleaseNotes.rst
  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: D124650.426163.patch
Type: text/x-patch
Size: 14358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220429/abb4cbb1/attachment-0001.bin>


More information about the cfe-commits mailing list