mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously we had two representations for the 'where' clause of a parsed declaration; if the declaration had generic parameters of its own, we would store them in the GenericParamList, otherwise we would store them separately in a TrailingWhereClause instance. Since the latter is more general and also used for protocols and extensions, let's just use it for everything and simplify GenericParamList in the process.
15 KiB
15 KiB