[PATCH] D132286: [clang][Interp] Implement function calls
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 26 05:47:26 PDT 2022
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM aside from some small nits you can fix when landing.
================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:607-610
+ if (auto R =
+ ByteCodeStmtGen<ByteCodeEmitter>(Ctx, P).compileFunc(FuncDecl)) {
+ Func = *R;
+ }
----------------
================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:626-627
+ return this->emitCall(*T, Func, E);
+ else
+ return this->emitCallVoid(Func, E);
+ } else {
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132286/new/
https://reviews.llvm.org/D132286
More information about the cfe-commits
mailing list