HomePhabricator

[VFS] Move RedirectingFileSystem interface into header (NFC)

Description

[VFS] Move RedirectingFileSystem interface into header (NFC)

This moves the RedirectingFileSystem into the header so it can be
extended. This is needed in LLDB we need a way to obtain the external
path to deal with FILE* and file descriptor APIs.

Discussion on the mailing list:
http://lists.llvm.org/pipermail/llvm-dev/2018-November/127755.html

Differential revision: https://reviews.llvm.org/D54277

Details

Committed
JDevlieghereJan 15 2019, 2:36 PM
Differential Revision
D54277: Move RedirectingFileSystem interface into header.
Parents
rL351264: Simplify code by using Optional::getValueOr()
Branches
Unknown
Tags
Unknown