clang  8.0.0svn
Public Member Functions | List of all members
clang::vfs::directory_entry Class Reference

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

#include "clang/Basic/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 131 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ directory_entry() [1/2]

clang::vfs::directory_entry::directory_entry ( )
default

◆ directory_entry() [2/2]

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

Definition at line 137 of file VirtualFileSystem.h.

Member Function Documentation

◆ path()

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

Definition at line 140 of file VirtualFileSystem.h.

◆ type()

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

Definition at line 141 of file VirtualFileSystem.h.


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