================ @@ -423,8 +427,6 @@ bool childExprIsStmt(const Stmt *Outer, const Expr *Inner) { if (!Outer || !Inner) return false; // Exclude the most common places where an expr can appear but be unused. - if (llvm::isa<CompoundStmt>(Outer)) ---------------- ckandeler wrote:
I made the comment rather generic, as I found it difficult to summarize what the function does without essentially repeating the code. https://github.com/llvm/llvm-project/pull/112525 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits