================ @@ -168,9 +170,11 @@ generateReplacements(const MatchFinder::MatchResult &Match, CharSourceRange::getTokenRange(InnerResult.First->getEndLoc()))); } - const SmallVector<FixItHint> InnerReplacements = generateReplacements( + const auto [FoundNestedCallInner, InnerReplacements] = generateReplacements( Match, InnerCall, InnerResult, IgnoreNonTrivialTypes, - IgnoreTrivialTypesOfSizeAbove); + IgnoreTrivialTypesOfSizeAbove, false); + + FoundNestedCall |= FoundNestedCallInner; ---------------- SimplyDanny wrote:
Isn't the result always `true` with the value being reset to `true` in line 149 and having an `|=` here? https://github.com/llvm/llvm-project/pull/107649 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits