[PATCH] D124806: [clang-tidy] add support for Demorgan conversions to readability-simplify-bool-expr

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 4 09:06:27 PDT 2022


njames93 updated this revision to Diff 427038.
njames93 added a comment.

Enhanced support for parens, both adding them in when needed as well as removing some un-needed parens.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124806

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: D124806.427038.patch
Type: text/x-patch
Size: 15853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220504/2c881cf7/attachment-0001.bin>


More information about the cfe-commits mailing list