[clang] [clang-tools-extra] [clang][bytecode] Don't evaluate bound member function expressions in new constant interpreter (PR #194851)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 30 02:05:40 PDT 2026
================
@@ -2643,6 +2643,14 @@ bool Compiler<Emitter>::VisitMemberExpr(const MemberExpr *E) {
if (!this->discard(Base) && !this->emitSideEffect(E))
----------------
cakgok wrote:
Right, I was thinking I should let it emit the side effects first, but i guess it's just bytecode that gets thrown away regardless.
Moved it up.
https://github.com/llvm/llvm-project/pull/194851
More information about the cfe-commits
mailing list