<div dir="ltr">Hi!<div><br></div><div>I'm not sure this is the right mail list, so apologies in advance if I got it wrong.</div><div><br></div><div>I wanted to ask: is it possible in clang to query the list of enabled compiler warnings? In GCC one can do:</div><div><br></div><div>gcc -Q -Wall --help=warnings | grep enabled<br></div><div><span style="color:rgb(35,38,41);font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono","Liberation Mono",Menlo,Monaco,Consolas,monospace;font-size:13px;white-space:pre-wrap;background-color:rgb(227,230,232)"><br></span></div><div>We want to programatically find out what warnings are included in what warning groups (e.g. -Wall, -Wextra). Finding this out from the docs is tedious, since the warnings aren't listed in plain form - one needs to click through the different warning sub-groups. Ideally we don't want to parse the clang source code either.<br></div><div><br></div><div>Thanks!</div><div><br></div><div>Best regards,</div><div>Carlos</div></div>