From: David Malcolm Date: Wed, 11 Jun 2025 00:06:38 +0000 (-0400) Subject: diagnostics: make experimental-html sink prettier [PR116792] X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb1d203445c923aa64bca01b0ffb6d3d16a82130;p=thirdparty%2Fgcc.git diagnostics: make experimental-html sink prettier [PR116792] This patch to the "experimental-html" diagnostic sink: * adds use of the PatternFly 3 CSS library (via an optional link in the generated html to a copy in a CDN) * uses PatternFly's "alert" pattern to show severities for diagnostics, properly nesting "note" diagnostics for diagnostic groups. Example: before: https://dmalcolm.fedorapeople.org/gcc/2025-06-10/before/diagnostic-ranges.c.html after: https://dmalcolm.fedorapeople.org/gcc/2025-06-10/after/diagnostic-ranges.c.html * adds initial support for logical locations and physical locations * adds initial support for multi-level nested diagnostics such as those for C++ concepts diagnostics. Ideally this would show a clickable disclosure widget to expand/collapse a level, but for now it uses nested