LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::vfs::directory_entry Class Reference

A member of a directory, yielded by a directory_iterator. More...

#include "llvm/Support/VirtualFileSystem.h"

Public Member Functions

 directory_entry ()=default
 
 directory_entry (std::string Path, llvm::sys::fs::file_type Type)
 
llvm::StringRef path () const
 
llvm::sys::fs::file_type type () const
 

Detailed Description

A member of a directory, yielded by a directory_iterator.

Only information available on most platforms is included.

Definition at line 127 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ directory_entry() [1/2]

llvm::vfs::directory_entry::directory_entry ( )
default

◆ directory_entry() [2/2]

llvm::vfs::directory_entry::directory_entry ( std::string  Path,
llvm::sys::fs::file_type  Type 
)
inline

Definition at line 133 of file VirtualFileSystem.h.

Member Function Documentation

◆ path()

llvm::StringRef llvm::vfs::directory_entry::path ( ) const
inline

Definition at line 136 of file VirtualFileSystem.h.

Referenced by llvm::vfs::VFSFromYamlDirIterImpl::increment().

◆ type()

llvm::sys::fs::file_type llvm::vfs::directory_entry::type ( ) const
inline

Definition at line 137 of file VirtualFileSystem.h.


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