Issue |
123376
|
Summary |
detect repeated STL container lookups
|
Labels |
clang-tidy,
check-request
|
Assignees |
|
Reporter |
firewave
|
@kazutakahirata has been fixing a lot of duplicated lookups with STL containers in recent months - like
c5312553cb7a49b53ba2bac40fbc3c1745855844
94e9813a20ed5885ae2908f8519f93d8082fd1f3
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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs