class RedirectingFileSystem::RedirectingFileEntry

Declaration

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

Description

A single file or directory in the VFS.

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

Inherits from: RedirectingFileSystem::Entry

Method Overview

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

Inherited from RedirectingFileSystem::Entry:

Methods

RedirectingFileEntry(
    llvm::StringRef Name,
    llvm::StringRef ExternalContentsPath,
    llvm::vfs::RedirectingFileSystem::
        RedirectingFileEntry::NameKind UseName)

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

Parameters

llvm::StringRef Name
llvm::StringRef ExternalContentsPath
llvm::vfs::RedirectingFileSystem:: RedirectingFileEntry::NameKind UseName

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

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

Parameters

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

llvm::StringRef getExternalContentsPath() const

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

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

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

bool useExternalName(
    bool GlobalUseExternalName) const

Description

whether to use the external path as the name for this file.

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

Parameters

bool GlobalUseExternalName