mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
e3f07a58f5
When a diagnostic belongs to a group that has a parent group (`GROUP_LINK` in `DiagnosticGroups.def`), display the full inheritance chain in the diagnostic output, including documentation hyperlinks and footnotes for each. For example, a diagnostic in `ExistentialType` (child of `PerformanceHints`) now renders as: ``` warning: ... [#PerformanceHints::ExistentialType] ``` Groups without parents continue to display as before (`[#DeprecatedDeclaration]`). Resolves rdar://170805800