[clang] [CIR][NFC] Use arrangeFunctionDeclaration to build function types (PR #139787)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed May 14 09:31:27 PDT 2025
================
@@ -58,8 +59,9 @@ class RequiredArgs {
}
static RequiredArgs
- forPrototypePlus(clang::CanQual<clang::FunctionProtoType> prototype) {
- return forPrototypePlus(prototype.getTypePtr());
+ forPrototypePlus(clang::CanQual<clang::FunctionProtoType> prototype,
----------------
andykaylor wrote:
That's still not exactly right because `additional` will often be zero.
https://github.com/llvm/llvm-project/pull/139787
More information about the cfe-commits
mailing list