[clang] [clang] Replace LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]] (NFC) (PR #163914)

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 17 07:26:30 PDT 2025


kazutakahirata wrote:

> > Looking around there seem to be many more uses of `LLVM_ATTRIBUTE_UNUSED` around - Why replace these ones but not everything?
> > (I think doing that replacement makes sense - all the host toolchain have support for the attribute afaik)
> 
> @cor3ntin I assume this is to keep PR sizes small and easy to review.

Yes, that's exactly my intent.  Thanks for reviews!

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


More information about the cfe-commits mailing list