clang 20.0.0git
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
clang::IdentifierResolver::iterator Class Reference

iterator - Iterate over the decls of a specified declaration name. More...

#include "clang/Sema/IdentifierResolver.h"

Public Types

using value_type = NamedDecl *
 
using reference = NamedDecl *
 
using pointer = NamedDecl *
 
using iterator_category = std::input_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using BaseIter = IdDeclInfo::DeclsTy::iterator
 

Public Member Functions

 iterator (NamedDecl *D)
 A single NamedDecl. (Ptr & 0x1 == 0)
 
 iterator (BaseIter I)
 A IdDeclInfo::DeclsTy::iterator that walks or not the parent declaration contexts depending on 'LookInParentCtx'.
 
bool isIterator () const
 
BaseIter getIterator () const
 
void incrementSlowCase ()
 
 iterator ()=default
 
NamedDecloperator* () const
 
bool operator== (const iterator &RHS) const
 
bool operator!= (const iterator &RHS) const
 
iteratoroperator++ ()
 

Public Attributes

uintptr_t Ptr = 0
 Ptr - There are 2 forms that 'Ptr' represents: 1) A single NamedDecl.
 

Friends

class IdentifierResolver
 

Detailed Description

iterator - Iterate over the decls of a specified declaration name.

It will walk or not the parent declaration contexts depending on how it was instantiated.

Definition at line 69 of file IdentifierResolver.h.

Member Typedef Documentation