LLVM  11.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::vfs::RedirectingFileSystem::RedirectingFileEntry Class Reference

#include "llvm/Support/VirtualFileSystem.h"

Inheritance diagram for llvm::vfs::RedirectingFileSystem::RedirectingFileEntry:
Inheritance graph
Collaboration diagram for llvm::vfs::RedirectingFileSystem::RedirectingFileEntry:
Collaboration graph

Public Types

enum  NameKind { NK_NotSet, NK_External, NK_Virtual }

Public Member Functions

 RedirectingFileEntry (StringRef Name, StringRef ExternalContentsPath, NameKind UseName)
StringRef getExternalContentsPath () const
bool useExternalName (bool GlobalUseExternalName) const
 whether to use the external path as the name for this file. 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)

Detailed Description

Definition at line 621 of file VirtualFileSystem.h.

Member Enumeration Documentation

◆ NameKind


Definition at line 623 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ RedirectingFileEntry()

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

Definition at line 630 of file VirtualFileSystem.h.

Member Function Documentation

◆ classof()

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

◆ getExternalContentsPath()

StringRef llvm::vfs::RedirectingFileSystem::RedirectingFileEntry::getExternalContentsPath ( ) const

Definition at line 635 of file VirtualFileSystem.h.

◆ getUseName()

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

Definition at line 643 of file VirtualFileSystem.h.

◆ useExternalName()

bool llvm::vfs::RedirectingFileSystem::RedirectingFileEntry::useExternalName ( bool  GlobalUseExternalName) const

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

Definition at line 638 of file VirtualFileSystem.h.

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