Skip to content

detect repeated STL container lookups #123376

Open
@firewave

Description

@firewave

@kazutakahirata has been fixing a lot of duplicated lookups with STL containers in recent months - like
c531255
94e9813

I do not know how these were found but it would be great if clang-tidy could detect these.

See the history for way more examples: https://github.com/llvm/llvm-project/commits?author=kazutakahirata.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions