Re: [PATCH] c++: experiment with (draft) C++ standard metadata

2024-11-16 Thread David Malcolm
On Sat, 2024-11-16 at 19:01 +0100, Jakub Jelinek wrote: > On Sat, Nov 16, 2024 at 12:33:51PM -0500, David Malcolm wrote: > > This patch adds metadata to some C++ diagnostics, > > referencing a specific section/anchor within a draft > > of the C++ standard.  For example, this adds > > a [depr.volati

Re: [PATCH] c++: experiment with (draft) C++ standard metadata

2024-11-16 Thread Jakub Jelinek
On Sat, Nov 16, 2024 at 12:33:51PM -0500, David Malcolm wrote: > This patch adds metadata to some C++ diagnostics, > referencing a specific section/anchor within a draft > of the C++ standard. For example, this adds > a [depr.volatile.type] tag: > > standard-ref-1.C:1:12: warning: ‘volatile’-qual

[PATCH] c++: experiment with (draft) C++ standard metadata

2024-11-16 Thread David Malcolm
This patch adds metadata to some C++ diagnostics, referencing a specific section/anchor within a draft of the C++ standard. For example, this adds a [depr.volatile.type] tag: standard-ref-1.C:1:12: warning: ‘volatile’-qualified parameter is deprecated [depr.volatile.type] [-Wvolatile] 1 | voi