LLVM  16.0.0git
Public Member Functions | Static Public Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for llvm::vfs::RedirectingFileSystem::FileEntry:
Collaboration graph
[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. More...
 
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 843 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ FileEntry()

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

Definition at line 845 of file VirtualFileSystem.h.

Member Function Documentation

◆ classof()

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

Definition at line 848 of file VirtualFileSystem.h.

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


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