[PATCH] D100581: [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable

Michael Benfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 15 12:29:40 PDT 2021


mbenfield added a comment.

In D100581#2692425 <https://reviews.llvm.org/D100581#2692425>, @aeubanks wrote:

> running this over an existing codebase to see what fires is probably a good idea (if you haven't already done that)

I ran it on LLVM itself (with clang and lldb) and got no firings at all. (And I introduced an artificial `int x; x = 0;` which was detected and flagged as expected to make sure the warnings really were working.)


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