[clang-tools-extra] [clang-tidy] Add AnalyzeParameters option to misc-const-correctness (PR #171215)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 13 15:31:08 PST 2025
================
@@ -104,6 +104,20 @@ Options
:option:`WarnPointersAsValues` and :option:`WarnPointersAsPointers`.
Default is `true`.
+.. option:: AnalyzeParameters
+
+ Enable or disable the analysis of function parameters, like
+ ``void foo(int* ptr)``. Only reference and pointer parameters are analyzed.
+ As of current implementation, member function (including constructors) and
----------------
localspook wrote:
```suggestion
Currently, member functions (including constructors) and
```
https://github.com/llvm/llvm-project/pull/171215
More information about the cfe-commits
mailing list