HomePhabricator

Fix more VFS tests on Windows

Authored by amccarth on Nov 25 2019, 3:57 PM.

Description

Fix more VFS tests on Windows

Since VFS paths can be in either Posix or Windows style, we have to use
a more flexible definition of "absolute" path.

The key here is that FileSystem::makeAbsolute is now virtual, and the
RedirectingFileSystem override checks for either concept of absolute
before trying to make the path absolute by combining it with the current
directory.

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

Details

Committed
amccarthDec 18 2019, 11:38 AM
Differential Revision
D70701: Fix more VFS tests on Windows
Parents
rG12038be20ee6: [Concepts] Fix crash in D41910
Branches
Unknown
Tags
Unknown