[PATCH] D100581: [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 21 13:55:18 PDT 2021
dblaikie added a comment.
FWIW, I'd love it if we could do a full dead-store warning, which would be a superset of this. I think we have enough infrastructure in the analysis based warnings (I think the sufficiency of the infrastructure is demonstrated by the "may be used uninitialized" warnings). Such a warning would subsume these narrower "set but not used" type of warnings (though would require the analysis warning infrastructure).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100581/new/
https://reviews.llvm.org/D100581
More information about the cfe-commits
mailing list