[clang-tidy] run-clang-tidy.py: analyze unique files only
authorSerikzhan Kazi <se7kazi@gmail.com>
Sat, 6 Nov 2021 06:53:18 +0000 (19:53 +1300)
committerSalman Javed <mail@salmanjaved.org>
Sat, 6 Nov 2021 06:53:18 +0000 (19:53 +1300)
commit0dc856ed20e0fb64dd7cb0a10db35c58c3ef95e6
treedbf0a85570617de1225e5e3a564bea6dbd4407cf
parent89ad2822affb7c120c52eddfa22d593af6e1a08a
[clang-tidy] run-clang-tidy.py: analyze unique files only

The files in compile-commands.json can potentially include duplicates.
Change run-clang-tidy.py so that it does not run on the duplicate entries.

Differential Revision: https://reviews.llvm.org/D112926
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py