[clang-tidy] Support relative paths in run-clang-tidy.py
authorGabor Horvath <xazax.hun@gmail.com>
Mon, 6 Nov 2017 10:36:02 +0000 (10:36 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Mon, 6 Nov 2017 10:36:02 +0000 (10:36 +0000)
commit8de900ae1f84b0e8a0d2daa228ab2348b51f7c39
tree6e27e1067cb880e45a6c6b8f96544388592e8c31
parent53d28a9101f4756859c3d1f73843bc58be50662e
[clang-tidy] Support relative paths in run-clang-tidy.py

Unfortunately, these python scripts are not tested currently. I did the testing
manually on LLVM by editing the CMake generated compilation database to
contain relative paths for some of the files.

Differential Revision: https://reviews.llvm.org/D39603

llvm-svn: 317468
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py