[PATCH] D152495: [Clang][SemaCXX] Add unused warning for variables declared in condition expressions

Pranav Kant via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 11:52:52 PDT 2023


pranavk added a comment.

I agree -Wunused-condition-variable sounds like a good idea. There are still numerous instances of this warning/error showing up when doing a self-build of LLVM, let alone warnings/errors that are showing up in internal code bases who are using LLVM HEAD for compiling their codebases.  `-Wunused-condition-variable` would make this transition smoother.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152495/new/

https://reviews.llvm.org/D152495



More information about the cfe-commits mailing list