[libcxx-commits] [libcxx] [libc++] Diagnose unused variables of container types (PR #203084)

Yuxuan Chen via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 17 09:46:40 PDT 2026


yuxuanchen1997 wrote:

Makes sense to me as well. 

Small nit: why do we not use a macro to define `[[__gnu__::__warn_unused__]]` so if the spelling changes in the future we can change it?

https://github.com/llvm/llvm-project/pull/203084


More information about the libcxx-commits mailing list