I am having the same issue as here: https://github.com/llvm/llvm-project/issues/101181 I try to fix it by adding: ``` performance-unnecessary-value-param.AllowedTypes: 'Iterator' ``` To my `.clang-tidy` file, but it doesn't work. Probably because clang-tidy is matching that against "the real type" instead of the "written" type.