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

Mikhail Goncharov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 09:55:20 PDT 2023


goncharov added a comment.

due to this change we have a enourmous number of new warnings, on the other hand -Wunused-variable is a valuable warning. I am not sure what is the policy and best practices for warnings but maybe there is a possiblity to make a transition period for enabling this type of warning separetely and to allow updating existing code?


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