https://github.com/Lancern closed
https://github.com/llvm/llvm-project/pull/141942
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/141942
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -409,6 +409,18 @@ void CIRGenFunction::emitCallArg(CallArgList &args, const
clang::Expr *e,
args.add(emitAnyExprToTemp(e), argType);
}
+QualType CIRGenFunction::getVarArgType(const Expr *arg) {
+ // System headers on Windows define NULL to 0 instead of 0LL on Win64. MSV
@@ -39,6 +39,26 @@ class RequiredArgs {
bool allowsOptionalArgs() const { return numRequired != ~0U; }
+ /// Compute the arguments required by the given formal prototype, given that
+ /// there may be some additional, non-formal arguments in play.
+ ///
+ /// If FD is n
https://github.com/Lancern updated
https://github.com/llvm/llvm-project/pull/141942
>From 862cb3bd98bc2ed6a6b01efe0f08ebfaf8ad63e0 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Thu, 29 May 2025 17:21:06 +0800
Subject: [PATCH] [CIR] Call to variadic functions
---
clang/include/clang/CIR/Missin
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Sirui Mu (Lancern)
Changes
This PR adds support for calling variadic functions in CIR.
---
Full diff: https://github.com/llvm/llvm-project/pull/141942.diff
7 Files Affected:
- (modified) clang/include/clang/CIR/MissingFeatures.h (-1)
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Sirui Mu (Lancern)
Changes
This PR adds support for calling variadic functions in CIR.
---
Full diff: https://github.com/llvm/llvm-project/pull/141942.diff
7 Files Affected:
- (modified) clang/include/clang/CIR/MissingFeatures.h (-1)
-
https://github.com/Lancern created
https://github.com/llvm/llvm-project/pull/141942
This PR adds support for calling variadic functions in CIR.
>From 800e4b1a02520e4c3137a02e284cc8406cf36602 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Thu, 29 May 2025 17:21:06 +0800
Subject: [PATCH] [CIR] Ca