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