[llvm-dev] run-clang-tidy

Serikzhan Kazi via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 1 03:35:01 PDT 2021


Hi all.

This is my first post to the list, and feel free to correct me if something
needs to be changed.
Otherwise, this is my message. Considering this file
https://clang.llvm.org/extra/doxygen/run-clang-tidy_8py_source.html, esp.
its line 276:
files = [make_absolute
<https://clang.llvm.org/extra/doxygen/namespacerun-clang-tidy.html#a0cea255a2d9edf0a7f877bd9bdd4c75f>
(entry['file'], entry['directory'])
277  for entry in database]
278
In my private repo, I ran run-clang-tidy.py with an added line
files = set(files), and it ran twice as fast because it eliminated
duplicates. In its original form, I have some files duplicated as many as 3
times. Since the GitHub page of the project does not accept pull requests,
I am starting by posting here. My question is, how to effect this change in
the current run-clang-tidy.py?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211101/1eb9c9e7/attachment.html>


More information about the llvm-dev mailing list