[PATCH] D37566: [clang-tidy] fixed misc-unused-parameters omitting parameters default value

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 07:31:42 PDT 2017


alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

Thank you for the fix!

LG with one nit.



================
Comment at: test/clang-tidy/misc-unused-parameters.cpp:73
+// CHECK-FIXES: staticFunctionE();
+  staticFunctionF(1);
+// CHECK-FIXES: staticFunctionF();
----------------
Please add an invocation of `staticFunctionF` without parameters.


Repository:
  rL LLVM

https://reviews.llvm.org/D37566





More information about the cfe-commits mailing list