Fznamznon added inline comments.
================ Comment at: clang/lib/Sema/TreeTransform.h:11940-11943 - ExprResult Callee = getDerived().TransformExpr(E->getCallee()); - if (Callee.isInvalid()) - return ExprError(); - ---------------- cor3ntin wrote: > I don't understand why we would not need to transform the callee. do we do > that elsewhere? For example, the code above for call and subscript operators never transforms the callee. This `TransFormExpr` call seems to be a no-op for overloaded operator call case, and the result never ends up in the resulting ast. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D151553/new/ https://reviews.llvm.org/D151553 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits