[PATCH] D116488: Add a misc-unused-parameters.CommentOutUnusedParameters to clang-tidy

Mehdi AMINI via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 2 16:42:45 PST 2022


mehdi_amini added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/misc-unused-parameters.rst:25
+
+  void a(int ) { /*some code that doesn't use `i`*/ }
+
----------------
jpienaar wrote:
> OOC why the extra space after the type?
The space is in the original code, the fix only touches the name (clang-format is expected to fix it afterward)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116488



More information about the cfe-commits mailing list