class IdentifierResolver::iterator

Declaration

class IdentifierResolver::iterator { /* full declaration omitted */ };

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.

Declared at: clang/include/clang/Sema/IdentifierResolver.h:69

Member Variables

public uintptr_t Ptr = 0
Ptr - There are 2 forms that 'Ptr' represents: 1) A single NamedDecl. (Ptr & 0x1 == 0) 2) A IdDeclInfo::DeclsTy::iterator that traverses only the decls of the same declaration context. (Ptr & 0x1 == 0x1)

Method Overview

Methods

clang::IdentifierResolver::iterator::BaseIter
getIterator() const

Declared at: clang/include/clang/Sema/IdentifierResolver.h:100

void incrementSlowCase()

Declared at: clang/include/clang/Sema/IdentifierResolver.h:105

bool isIterator() const

Declared at: clang/include/clang/Sema/IdentifierResolver.h:98

iterator(clang::NamedDecl* D)

Description

A single NamedDecl. (Ptr & 0x1 == 0)

Declared at: clang/include/clang/Sema/IdentifierResolver.h:87

Parameters

clang::NamedDecl* D

iterator(
    clang::IdentifierResolver::iterator::BaseIter
        I)

Description

A IdDeclInfo::DeclsTy::iterator that walks or not the parent declaration contexts depending on 'LookInParentCtx'.

Declared at: clang/include/clang/Sema/IdentifierResolver.h:94

Parameters

clang::IdentifierResolver::iterator::BaseIter I

iterator()

Declared at: clang/include/clang/Sema/IdentifierResolver.h:108