[clang] [CIR] Cleanup support for C functions (PR #136854)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 23 11:11:11 PDT 2025
================
@@ -13,20 +13,76 @@
#include "CIRGenCall.h"
#include "CIRGenFunction.h"
+#include "CIRGenFunctionInfo.h"
#include "clang/CIR/MissingFeatures.h"
using namespace clang;
using namespace clang::CIRGen;
-CIRGenFunctionInfo *CIRGenFunctionInfo::create(CanQualType resultType) {
- void *buffer = operator new(totalSizeToAlloc<ArgInfo>(1));
+CIRGenFunctionInfo *
+CIRGenFunctionInfo::create(CanQualType resultType,
----------------
andykaylor wrote:
This same change is being made in https://github.com/llvm/llvm-project/pull/136810. See my comment there about coordinating the two.
https://github.com/llvm/llvm-project/pull/136854
More information about the cfe-commits
mailing list