================
@@ -102,6 +102,210 @@ void BranchCloneCheck::registerMatchers(MatchFinder
*Finder) {
this);
Finder->addMatcher(switchStmt().bind("switch"), this);
Finder->addMatcher(conditionalOperator().bind("condOp"), this);
+
Finder->addMatcher(ifStmt(hasDescendant(ifStmt())).bind("ifWithDescendantIf"),
----------------
vabridgers wrote:
Thanks @5chmidti. I think I had resolved the comment from @HerrCai0907 by
narrowing the match. Would you agree that's sufficient, or would you like to
see an improvement in this area before moving forward here? Thanks
https://github.com/llvm/llvm-project/pull/114715
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits