clang  16.0.0git
Public Member Functions | List of all members
clang::detail::SearchDirIteratorImpl< IsConst > Struct Template Reference

Forward iterator over the search directories of HeaderSearch. More...

#include "clang/Lex/HeaderSearch.h"

Inheritance diagram for clang::detail::SearchDirIteratorImpl< IsConst >:
Inheritance graph
[legend]
Collaboration diagram for clang::detail::SearchDirIteratorImpl< IsConst >:
Collaboration graph
[legend]

Public Member Functions

template<typename Enable = std::enable_if<IsConst, bool>>
 SearchDirIteratorImpl (const SearchDirIteratorImpl< false > &Other)
 Const -> non-const iterator conversion. More...
 
 SearchDirIteratorImpl (const SearchDirIteratorImpl &)=default
 
SearchDirIteratorImploperator= (const SearchDirIteratorImpl &)=default
 
bool operator== (const SearchDirIteratorImpl &RHS) const
 
SearchDirIteratorImploperator++ ()
 
Qualified< IsConst, DirectoryLookup > & operator* () const
 
 SearchDirIteratorImpl (std::nullptr_t)
 Creates an invalid iterator. More...
 
 operator bool () const
 Checks whether the iterator is valid. More...
 

Detailed Description

template<bool IsConst>
struct clang::detail::SearchDirIteratorImpl< IsConst >

Forward iterator over the search directories of HeaderSearch.

Definition at line 162 of file HeaderSearch.h.

Constructor & Destructor Documentation

◆ SearchDirIteratorImpl() [1/3]

template<bool IsConst>
template<typename Enable = std::enable_if<IsConst, bool>>
clang::detail::SearchDirIteratorImpl< IsConst >::SearchDirIteratorImpl ( const SearchDirIteratorImpl< false > &  Other)
inline

Const -> non-const iterator conversion.

Definition at line 168 of file HeaderSearch.h.

◆ SearchDirIteratorImpl() [2/3]

template<bool IsConst>
clang::detail::SearchDirIteratorImpl< IsConst >::SearchDirIteratorImpl ( const SearchDirIteratorImpl< IsConst > &  )
default

◆ SearchDirIteratorImpl() [3/3]

template<bool IsConst>
clang::detail::SearchDirIteratorImpl< IsConst >::SearchDirIteratorImpl ( std::nullptr_t  )
inline

Creates an invalid iterator.

Definition at line 191 of file HeaderSearch.h.

Member Function Documentation

◆ operator bool()

template<bool IsConst>
clang::detail::SearchDirIteratorImpl< IsConst >::operator bool ( ) const
inlineexplicit

Checks whether the iterator is valid.

Definition at line 194 of file HeaderSearch.h.

◆ operator*()

template<bool IsConst>
Qualified<IsConst, DirectoryLookup>& clang::detail::SearchDirIteratorImpl< IsConst >::operator* ( ) const
inline

Definition at line 185 of file HeaderSearch.h.

◆ operator++()

template<bool IsConst>
SearchDirIteratorImpl& clang::detail::SearchDirIteratorImpl< IsConst >::operator++ ( )
inline

Definition at line 179 of file HeaderSearch.h.

◆ operator=()

template<bool IsConst>
SearchDirIteratorImpl& clang::detail::SearchDirIteratorImpl< IsConst >::operator= ( const SearchDirIteratorImpl< IsConst > &  )
default

◆ operator==()

template<bool IsConst>
bool clang::detail::SearchDirIteratorImpl< IsConst >::operator== ( const SearchDirIteratorImpl< IsConst > &  RHS) const
inline

Definition at line 175 of file HeaderSearch.h.


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