[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:30:34 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:
The intention is RequiredArgs_ForPrototype_PlusAdditionalSlots.
How about `getFromProtoWithExtraSlots`?
https://github.com/llvm/llvm-project/pull/139787
More information about the cfe-commits
mailing list