[clang-tools-extra] [clang-tidy][readability-named-parameter] Add an option to print names without comment (PR #147953)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 10 08:16:38 PDT 2025
================
@@ -23,3 +23,12 @@ If a parameter is not utilized, its name can be commented out in a function defi
}
Corresponding cpplint.py check name: `readability/function`.
+
+Options
+-------
+
+.. option:: InsertPlainNamesInForwardDecls
+
+ When `true`, the check will insert parameter names without comments for
+ forward declarations only. When `false` (default), parameter names are
----------------
EugeneZelenko wrote:
Default value should be last sentence.
https://github.com/llvm/llvm-project/pull/147953
More information about the cfe-commits
mailing list