<div dir="ltr">Hi all.<div><br></div><div>This is my first post to the list, and feel free to correct me if something needs to be changed.</div><div>Otherwise, this is my message. Considering this file <a href="https://clang.llvm.org/extra/doxygen/run-clang-tidy_8py_source.html">https://clang.llvm.org/extra/doxygen/run-clang-tidy_8py_source.html</a>, esp. its line 276:</div><div><div class="gmail-line" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:1;font-family:monospace,fixed;min-height:13px;white-space:pre-wrap;padding-left:53px;padding-bottom:0px;margin:0px;color:rgb(0,0,0)">files = [<a class="gmail-code" href="https://clang.llvm.org/extra/doxygen/namespacerun-clang-tidy.html#a0cea255a2d9edf0a7f877bd9bdd4c75f" style="color:rgb(70,101,162);text-decoration-line:none">make_absolute</a>(entry[<span class="gmail-stringliteral" style="color:rgb(0,32,128)">'file'</span>], entry[<span class="gmail-stringliteral" style="color:rgb(0,32,128)">'directory'</span>])</div><div class="gmail-line" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:1;font-family:monospace,fixed;min-height:13px;white-space:pre-wrap;padding-left:53px;padding-bottom:0px;margin:0px;color:rgb(0,0,0)"><a name="l00277" style="color:rgb(61,87,140)"></a><span class="gmail-lineno" style="padding-right:4px;text-align:right;border-right:2px solid rgb(0,255,0);background-color:rgb(232,232,232);white-space:pre">  277</span>            <span class="gmail-keywordflow" style="color:rgb(224,128,0)">for</span> entry <span class="gmail-keywordflow" style="color:rgb(224,128,0)">in</span> database]</div><div class="gmail-line" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:1;font-family:monospace,fixed;min-height:13px;white-space:pre-wrap;padding-left:53px;padding-bottom:0px;margin:0px;color:rgb(0,0,0)"><a name="l00278" style="color:rgb(61,87,140)"></a><span class="gmail-lineno" style="padding-right:4px;text-align:right;border-right:2px solid rgb(0,255,0);background-color:rgb(232,232,232);white-space:pre">  278</span></div>In my private repo, I ran run-clang-tidy.py with an added line</div><div><font face="monospace">files = set(files)</font>, 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 <font face="monospace">run-clang-tidy.py</font>?</div><div><br></div><div>Thanks.</div></div>