mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This in the case of insertFunctionArgument requires a ValueOwnershipKind to be specified since we use that for transformations of function argument lists that are only correct after the transformation is complete. This only occurs in FunctionSignatureOptimizations. On the other hand, createFunctionArgument is only used to construct completely new argument lists, so we can instead just rely on the function we are in rather than require the user to pass it in. rdar://29791263
6.4 KiB
6.4 KiB