<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi Serikzahn,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thanks for posting sounds great to me :)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">To contribute to LLVM, the main way is to use <a href="https://reviews.llvm.org/">Phabricator</a>. Consider <a href="https://www.llvm.org/docs/Contributing.html#how-to-submit-a-patch">https://www.llvm.org/docs/Contributing.html#how-to-submit-a-patch</a> and <a href="https://www.llvm.org/docs/Phabricator.html#phabricator-reviews">https://www.llvm.org/docs/Phabricator.html#phabricator-reviews</a> for information on how to contribute.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Greetings,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Joachim</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Am Montag, 1. November 2021, 11:35:01 CET schrieb Serikzhan Kazi via llvm-dev:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Hi all.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> This is my first post to the list, and feel free to correct me if something</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> needs to be changed.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Otherwise, this is my message. Considering this file</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> https://clang.llvm.org/extra/doxygen/run-clang-tidy_8py_source.html, esp.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> its line 276:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> files = [make_absolute</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> <https://clang.llvm.org/extra/doxygen/namespacerun-clang-tidy.html#a0cea255a</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> 2d9edf0a7f877bd9bdd4c75f> (entry['file'], entry['directory'])</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> 277 for entry in database]</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> 278</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> In my private repo, I ran run-clang-tidy.py with an added line</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> files = set(files), and it ran twice as fast because it eliminated</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> duplicates. In its original form, I have some files duplicated as many as 3</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> times. Since the GitHub page of the project does not accept pull requests,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I am starting by posting here. My question is, how to effect this change in</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> the current run-clang-tidy.py?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Thanks.</p>
</body>
</html>