[VFS] Add back setFallthrough for downstream users
This fixes lldb's build. We can remove this in the future if we want but for now this will be nicer to existing consumers.
This commit is contained in:
1 parent
e765e0bc8e
commit
a5cff6af1d
2 files changed
+12
No files matched your search
@@ -1363,6 +1363,14 @@ StringRef RedirectingFileSystem::getExternalContentsPrefixDir() const {
|
||||
return ExternalContentsPrefixDir;
|
||||
}
|
||||
|
||||
void RedirectingFileSystem::setFallthrough(bool Fallthrough) {
|
||||
if (Fallthrough) {
|
||||
Redirection = RedirectingFileSystem::RedirectKind::Fallthrough;
|
||||
} else {
|
||||
Redirection = RedirectingFileSystem::RedirectKind::RedirectOnly;
|
||||
}
|
||||
}
|
||||
|
||||
void RedirectingFileSystem::setRedirection(
|
||||
RedirectingFileSystem::RedirectKind Kind) {
|
||||
Redirection = Kind;
|
||||
|
||||
Reference in new issue
Block a user