[clang] [clang] Extend -Wunused-but-set-variable to static globals (PR #178342)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 5 05:45:02 PST 2026


zwuis wrote:

> CI failures look unrelated to me (OpenMP failures). Is there anything else needed from my end?

No.

> Please resolve https://github.com/llvm/llvm-project/pull/178342#discussion_r2835980451 .

Oh I didn't make it clear. I meant modifying code, calling `ShouldRemoveFromUnused`.

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


More information about the cfe-commits mailing list