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

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 19 01:14:14 PST 2026


================

----------------
zwuis wrote:

Move changes in this file to here to put code handling similar things (diagnosing unused things) together.

Run this logic only if this diagnostic is enabled like line 1592.

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


More information about the cfe-commits mailing list