https://github.com/HerrCai0907 created https://github.com/llvm/llvm-project/pull/119839
None >From ad6d38fd22d65f06d4a807e39da25352d9c42f23 Mon Sep 17 00:00:00 2001 From: Congcong Cai <congcongcai0...@163.com> Date: Fri, 13 Dec 2024 16:52:54 +0800 Subject: [PATCH] [clang-tidy][doc][NFC] format doc for misc-unused-parameters --- .../clang-tidy/checks/misc/unused-parameters.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc/unused-parameters.rst b/clang-tools-extra/docs/clang-tidy/checks/misc/unused-parameters.rst index 87b75579d97a7c..9321f651fd7054 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/misc/unused-parameters.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/misc/unused-parameters.rst @@ -35,13 +35,13 @@ Options .. option:: StrictMode - When `false` (default value), the check will ignore trivially unused parameters, - i.e. when the corresponding function has an empty body (and in case of - constructors - no constructor initializers). When the function body is empty, - an unused parameter is unlikely to be unnoticed by a human reader, and - there's basically no place for a bug to hide. + When `false` (default value), the check will ignore trivially unused parameters, + i.e. when the corresponding function has an empty body (and in case of + constructors - no constructor initializers). When the function body is empty, + an unused parameter is unlikely to be unnoticed by a human reader, and + there's basically no place for a bug to hide. .. option:: IgnoreVirtual - Determines whether virtual method parameters should be inspected. - Set to `true` to ignore them. Default is `false`. + Determines whether virtual method parameters should be inspected. + Set to `true` to ignore them. Default is `false`. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits