mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Generalize `ClassDecl::getEmittedMembers()` to operate on an `IterableDeclContext`, so that it can be for other nominal types, extensions, etc. Rename to `getSemanticMembers()` to indicate that these are all of the members that are semantically part of that context. Clean up the implementation slightly so it only forces type checking for the conformances within that particular context (using `getLocalConformances()`) and doesn't need to list out each of the protocols it cares about.
5.7 KiB
5.7 KiB