[PATCH] D11940: don't diagnose -Wunused-parameter in virtual method or method that overrides base class method

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 08:46:25 PDT 2015


thakis added a subscriber: thakis.
thakis added a comment.

Can't you just change your signature to

  virtual void a(int /* x */) {}

in these cases?


http://reviews.llvm.org/D11940





More information about the cfe-commits mailing list