[clang][deps] Normalize ignored filenames in minimizing file system
authorJan Svoboda <jan_svoboda@apple.com>
Tue, 20 Jul 2021 08:57:12 +0000 (10:57 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 20 Jul 2021 09:31:31 +0000 (11:31 +0200)
commit63fd109d3aa6db48e38e1c78f6084ad257f2c37d
tree5dbf95b27bfb27973cbd53cbf09a79eb184b38cd
parent98687aa0d61b11b102acbfd7d2dab0ad1c54d91e
[clang][deps] Normalize ignored filenames in minimizing file system

This patch normalizes filenames in `DependencyScanningWorkerFilesystem` so that lookup of ignored files works correctly on Windows (where `/` and `\` are equivalent).

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D106064
clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp