[PATCH] D61147: [Sema][ObjC] Add a flavor of -Wunused-parameter that doesn't diagnose unused parameters of ObjC methods

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 22:09:54 PDT 2019


rjmccall added a comment.

I do not think the ObjC version of this diagnostic is useful as it's been explained here, and I would strongly recommend just not including such a warning for the time being.

I would also recommend that you go fix the warning to never fire on virtual C++ methods.


Repository:
  rC Clang

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

https://reviews.llvm.org/D61147





More information about the cfe-commits mailing list