LLVM 22.0.0git
llvm::vfs::RedirectingFileSystem::RemapEntry Class Reference

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

#include "llvm/Support/VirtualFileSystem.h"

Inheritance diagram for llvm::vfs::RedirectingFileSystem::RemapEntry:
[legend]

Public Member Functions

StringRef getExternalContentsPath () const
bool useExternalName (bool GlobalUseExternalName) const
 Whether to use the external path as the name for this file or directory.
NameKind getUseName () const
Public Member Functions inherited from llvm::vfs::RedirectingFileSystem::Entry
 Entry (EntryKind K, StringRef Name)
virtual ~Entry ()=default
StringRef getName () const
EntryKind getKind () const

Static Public Member Functions

static bool classof (const Entry *E)

Protected Member Functions

 RemapEntry (EntryKind K, StringRef Name, StringRef ExternalContentsPath, NameKind UseName)

Detailed Description

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

Definition at line 859 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ RemapEntry()

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

Member Function Documentation

◆ classof()

◆ getExternalContentsPath()

StringRef llvm::vfs::RedirectingFileSystem::RemapEntry::getExternalContentsPath ( ) const
inline

Definition at line 870 of file VirtualFileSystem.h.

◆ getUseName()

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

Definition at line 878 of file VirtualFileSystem.h.

◆ useExternalName()

bool llvm::vfs::RedirectingFileSystem::RemapEntry::useExternalName ( bool GlobalUseExternalName) const
inline

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

Definition at line 873 of file VirtualFileSystem.h.

References llvm::vfs::RedirectingFileSystem::NK_External, and llvm::vfs::RedirectingFileSystem::NK_NotSet.


The documentation for this class was generated from the following file: