From bfe020bfa91640e7a6f1a516dc752fa754249088 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 21 Oct 2026 06:00:55 +0000 Subject: feat(codegen): support explicit template arguments Co-Authored-By: Claude Opus 5.5 --- include/cps/CodeGen.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/cps') diff --git a/include/cps/CodeGen.h b/include/cps/CodeGen.h index 124ead1..23487f6 100644 --- a/include/cps/CodeGen.h +++ b/include/cps/CodeGen.h @@ -185,9 +185,11 @@ class CodeGen { llvm::Value *loadFromLValue(const LValueInfo &LV); llvm::Value *emitAllocationSize(ExprAST *Expr); llvm::Value *emitCall(const std::string &Callee, - const std::vector> &ArgExprs, int Line); + const std::vector> &ArgExprs, int Line, + const std::vector *Explicit = nullptr); const FuncSig *resolveCall(const std::string &Name, - const std::vector> &Args); + const std::vector> &Args, + const std::vector *Explicit = nullptr); struct OperatorResolution { const FuncSig *Signature = nullptr; bool Ambiguous = false; -- cgit v1.3.1-4-g156e