[clang] [CIR] Add pass_object_size hidden parameter support (PR #191482)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 10 15:47:29 PDT 2026


================
@@ -859,8 +865,7 @@ arrangeFreeFunctionLikeCall(CIRGenTypes &cgt, CIRGenModule &cgm,
   if (const auto *proto = dyn_cast<FunctionProtoType>(fnType)) {
     if (proto->isVariadic())
       required = RequiredArgs::getFromProtoWithExtraSlots(proto, 0);
-    if (proto->hasExtParameterInfos())
-      cgm.errorNYI("call to functions with extra parameter info");
+    assert(!cir::MissingFeatures::opCallExtParameterInfo());
----------------
andykaylor wrote:

Can you implement this rather than just getting rid of the diagnostic?

https://github.com/llvm/llvm-project/pull/191482


More information about the cfe-commits mailing list