[libcxx-commits] [libcxx] [libc++] Diagnose unused variables of container types (PR #203084)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 23 09:06:41 PDT 2026
philnik777 wrote:
> We'd appreciate it If you had introduced a macro instead of using `[[__gnu__::__warn_unused__]]` directly, so that we could keep the existing warnings, while disabling these ones with a targeted fix, hopefully temporarily.
If you can explain how this is helpful for later patches similar to this and not just a one-time nicety that in the end just reduces readability I'm happy to do so.
https://github.com/llvm/llvm-project/pull/203084
More information about the libcxx-commits
mailing list