mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The only callers of `DerivedConformance::createBuiltinCall` aren't actually aware of what the generic signature is for the builtin they want to call. Thus, they can't really provide the needed conformances. This wasn't an issue when there were no conformances needed for the substitution map, but with NoncopyableGenerics, we need at least Copyable conformances for the generic parameters of a builtin. It's easy enough to make this function just handle generating the conformances list, so that's the refactoring here.
20 KiB
20 KiB