[cfe-dev] removing -Wused-but-marked-unused

Joerg Sonnenberger via cfe-dev cfe-dev at lists.llvm.org
Mon May 11 17:19:16 PDT 2020

On Mon, May 11, 2020 at 03:21:51PM -0700, Richard Smith via cfe-dev wrote:
> If we can't establish a rationale for this warning existing, I suggest we
> remove it.

I think it can be useful in combination with -Wno-error to check for
left-overs from old asserts. E.g. it is a common idiom to mark variables
with used if they are only referenced in asserts, so it would be nice to
still have a way to find extras.


More information about the cfe-dev mailing list