clang 20.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]

Public Member Functions

template<typename Enable = std::enable_if<IsConst, bool>>
 SearchDirIteratorImpl (const SearchDirIteratorImpl< false > &Other)
 Const -> non-const iterator conversion.
 
 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.
 
 operator bool () const
 Checks whether the iterator is valid.
 

Detailed Description

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

Forward iterator over the search directories of HeaderSearch.

Definition at line 188 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 194 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 217 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 220 of file HeaderSearch.h.

◆ operator*()

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

Definition at line 211 of file HeaderSearch.h.

◆ operator++()

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

Definition at line 205 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 201 of file HeaderSearch.h.


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