[fix][clang-tidy] fix for r345961 that introduced a test failure on Windows builds
authorJonas Toth <jonas.toth@gmail.com>
Fri, 2 Nov 2018 16:36:21 +0000 (16:36 +0000)
committerJonas Toth <jonas.toth@gmail.com>
Fri, 2 Nov 2018 16:36:21 +0000 (16:36 +0000)
commit82536501c75c60c5a2a0bda9e255a51ce7741018
tree42cc4b4441d7e86d795f2b9186f951b94757b42b
parent38b753a0b99ec4b140e7f6d8d5d90a1a71dd5247
[fix][clang-tidy] fix for r345961 that introduced a test failure on Windows builds

r345961 introduced a path check in
.\tools\clang\tools\extra\test\clang-tidy\clang-tidy-run-with-database.cpp.

r345961 added a check line for a path that only handled / on unix
machines and not \ on windows machines.

This patch handles both cases.

Patch by TWeaver.

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

llvm-svn: 345995
clang-tools-extra/test/clang-tidy/clang-tidy-run-with-database.cpp