[clang] [clang-tools-extra] [clang][bytecode] Don't evaluate bound member function expressions in new constant interpreter (PR #194851)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 29 13:59:27 PDT 2026
================
@@ -2643,6 +2643,14 @@ bool Compiler<Emitter>::VisitMemberExpr(const MemberExpr *E) {
if (!this->discard(Base) && !this->emitSideEffect(E))
----------------
JustinStitt wrote:
nit: Could your check be moved to before the one on line 2643? Either way your fix looks correct to me but maybe we can avoid the extra bit of work.
https://github.com/llvm/llvm-project/pull/194851
More information about the cfe-commits
mailing list