mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
This replaces the inefficient pattern:
for (auto param : sig->getGenericParams()) {
if (sig->isCanonicalTypeInContext(param)) {
...
} else {
...
}
}
37 KiB
37 KiB