[PATCH] D125026: [clang-tidy][NFC] Reimplement SimplifyBooleanExpr with RecursiveASTVisitors

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 16 02:34:45 PDT 2022


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

Tweak logic for detecting nested `if`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125026

Files:
  clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
  clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
  clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprMatchers.h
  clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125026.429659.patch
Type: text/x-patch
Size: 49757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220516/922618bb/attachment-0001.bin>


More information about the cfe-commits mailing list