Skip to content

performance-unnecessary-value-param does not support adding allowed types that are template parameters #113210

Open
@carlosgalvezp

Description

@carlosgalvezp

I am having the same issue as here:
#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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions