<div dir='auto'><div><div class="gmail_extra"><div class="gmail_quote">On Apr 7, 2026 17:21, Hal Murray <halmurray@sonic.net> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
<br>
> I believe clangd 21 has -Wcovered-switch-default which is slightly
<br>
> better, but still not what you seek. It raises a warning if you cover all
<br>
> cases and have a default. 
<br>

<br>
Neat.  Thanks.<br></p></blockquote></div></div></div><div dir="auto">:::snip:::</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
The gcc man page describes all the warnings.  Where does clang tell me 
<br>
about theirs?<br></p></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">https://clang.llvm.org/docs/UsersManual.html</div><div dir="auto"><br></div><div dir="auto">https://releases.llvm.org/18.1.7/tools/clang/docs/DiagnosticsReference.html</div><div dir="auto"><br></div><div dir="auto">However, I tripped over it using  -Weverything</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr"></p></blockquote></div></div></div></div>