aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land.
LGTM ================ Comment at: clang/lib/AST/Interp/EvalEmitter.cpp:108 - S.Current = - new InterpFrame(S, const_cast<Function *>(Func), S.Current, {}, {}); + S.Current = new InterpFrame(S, const_cast<Function *>(Func), {}); // Result of call will be on the stack and needs to be handled by the caller. ---------------- Not related to this review: it'd be nice to fix the interface so we get const correct behavior rather than needing to use `const_cast` like this. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134699/new/ https://reviews.llvm.org/D134699 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits