class RedirectingFileSystem::RemapEntry

Declaration

class RedirectingFileSystem::RemapEntry : public Entry { /* full declaration omitted */ };

Description

A file or directory in the vfs that is mapped to a file or directory in the external filesystem.

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:795

Inherits from: RedirectingFileSystem::Entry

Member Variables

private std::string ExternalContentsPath
private llvm::vfs::RedirectingFileSystem::NameKind UseName

Method Overview

  • protected RemapEntry(llvm::vfs::RedirectingFileSystem::EntryKind K, llvm::StringRef Name, llvm::StringRef ExternalContentsPath, llvm::vfs::RedirectingFileSystem::NameKind UseName)
  • public static bool classof(const llvm::vfs::RedirectingFileSystem::Entry * E)
  • public llvm::StringRef getExternalContentsPath() const
  • public llvm::vfs::RedirectingFileSystem::NameKind getUseName() const
  • public bool useExternalName(bool GlobalUseExternalName) const

Inherited from RedirectingFileSystem::Entry:

Methods

RemapEntry(
    llvm::vfs::RedirectingFileSystem::EntryKind K,
    llvm::StringRef Name,
    llvm::StringRef ExternalContentsPath,
    llvm::vfs::RedirectingFileSystem::NameKind
        UseName)

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:800

Parameters

llvm::vfs::RedirectingFileSystem::EntryKind K
llvm::StringRef Name
llvm::StringRef ExternalContentsPath
llvm::vfs::RedirectingFileSystem::NameKind UseName

static bool classof(
    const llvm::vfs::RedirectingFileSystem::Entry*
        E)

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:816

Parameters

const llvm::vfs::RedirectingFileSystem::Entry* E

llvm::StringRef getExternalContentsPath() const

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:806

llvm::vfs::RedirectingFileSystem::NameKind
getUseName() const

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:814

bool useExternalName(
    bool GlobalUseExternalName) const

Description

Whether to use the external path as the name for this file or directory.

Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:809

Parameters

bool GlobalUseExternalName