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

A file in the vfs that maps to a file in the external file system. More...

#include "llvm/Support/VirtualFileSystem.h"

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

Public Member Functions

 FileEntry (StringRef Name, StringRef ExternalContentsPath, NameKind UseName)
Public Member Functions inherited from llvm::vfs::RedirectingFileSystem::RemapEntry
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)
Static Public Member Functions inherited from llvm::vfs::RedirectingFileSystem::RemapEntry
static bool classof (const Entry *E)

Additional Inherited Members

Protected Member Functions inherited from llvm::vfs::RedirectingFileSystem::RemapEntry
 RemapEntry (EntryKind K, StringRef Name, StringRef ExternalContentsPath, NameKind UseName)

Detailed Description

A file in the vfs that maps to a file in the external file system.

Definition at line 907 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ FileEntry()

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

Member Function Documentation

◆ classof()

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

Definition at line 912 of file VirtualFileSystem.h.

References E(), and llvm::vfs::RedirectingFileSystem::EK_File.


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