clang  6.0.0svn
Public Member Functions | List of all members
clang::vfs::directory_iterator Class Reference

An input iterator over the entries in a virtual path, similar to llvm::sys::fs::directory_iterator. More...

#include "clang/Basic/VirtualFileSystem.h"

Public Member Functions

 directory_iterator (std::shared_ptr< detail::DirIterImpl > I)
 
 directory_iterator ()=default
 Construct an 'end' iterator. More...
 
directory_iteratorincrement (std::error_code &EC)
 Equivalent to operator++, with an error code. More...
 
const Statusoperator* () const
 
const Statusoperator-> () const
 
bool operator== (const directory_iterator &RHS) const
 
bool operator!= (const directory_iterator &RHS) const
 

Detailed Description

An input iterator over the entries in a virtual path, similar to llvm::sys::fs::directory_iterator.

Definition at line 146 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ directory_iterator() [1/2]

clang::vfs::directory_iterator::directory_iterator ( std::shared_ptr< detail::DirIterImpl I)
inline

Definition at line 150 of file VirtualFileSystem.h.

◆ directory_iterator() [2/2]

clang::vfs::directory_iterator::directory_iterator ( )
default

Construct an 'end' iterator.

Member Function Documentation

◆ increment()

directory_iterator& clang::vfs::directory_iterator::increment ( std::error_code &  EC)
inline

Equivalent to operator++, with an error code.

Definition at line 161 of file VirtualFileSystem.h.

Referenced by collectIncludePCH(), and clang::driver::toolchains::Generic_GCC::GCCInstallationDetector::getBiarchSibling().

◆ operator!=()

bool clang::vfs::directory_iterator::operator!= ( const directory_iterator RHS) const
inline

Definition at line 177 of file VirtualFileSystem.h.

◆ operator*()

const Status& clang::vfs::directory_iterator::operator* ( ) const
inline

Definition at line 169 of file VirtualFileSystem.h.

◆ operator->()

const Status* clang::vfs::directory_iterator::operator-> ( ) const
inline

Definition at line 170 of file VirtualFileSystem.h.

◆ operator==()

bool clang::vfs::directory_iterator::operator== ( const directory_iterator RHS) const
inline

Definition at line 172 of file VirtualFileSystem.h.


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