Re: [PATCH 1/3] diagnostics: add support for nested diagnostics [PR116253]

2024-11-18 Thread David Malcolm
On Tue, 2024-11-12 at 09:02 -0500, David Malcolm wrote: > Previously the diagnostic subsystem supported a one-deep > hierarchy via auto_diagnostic_group, for associating > notes with the warning/error they annotate; this only > affects SARIF output, not text output. > > This patch adds support to

[PATCH 1/3] diagnostics: add support for nested diagnostics [PR116253]

2024-11-12 Thread David Malcolm
Previously the diagnostic subsystem supported a one-deep hierarchy via auto_diagnostic_group, for associating notes with the warning/error they annotate; this only affects SARIF output, not text output. This patch adds support to the diagnostics subsystem for capturing arbitrarily deep nesting str