[clang] [CIR] Cleanup support for C functions (PR #136854)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 23 10:49:30 PDT 2025
================
@@ -524,7 +523,9 @@ CIRGenTypes::arrangeCIRFunctionInfo(CanQualType returnType) {
if (retInfo.canHaveCoerceToType() && retInfo.getCoerceToType() == nullptr)
retInfo.setCoerceToType(convertType(fi->getReturnType()));
- assert(!cir::MissingFeatures::opCallArgs());
+ for (auto &i : fi->arguments())
----------------
andykaylor wrote:
Don't use auto here.
https://github.com/llvm/llvm-project/pull/136854
More information about the cfe-commits
mailing list