class ASTReader::ModuleDeclIterator

Declaration

class ASTReader::ModuleDeclIterator : public iterator_adaptor_base { /* full declaration omitted */ };

Description

CRTP base class for adapting an iterator to a different type. This class can be used through CRTP to adapt one iterator into another. Typically this is done through providing in the derived class a custom \c operator* implementation. Other methods can be overridden as well.

Declared at: clang/include/clang/Serialization/ASTReader.h:1426

Inherits from: iterator_adaptor_base

Member Variables

private clang::ASTReader* Reader = nullptr
private clang::ASTReader::ModuleFile* Mod = nullptr

Method Overview

Methods

ModuleDeclIterator()

Declared at: clang/include/clang/Serialization/ASTReader.h:1435

ModuleDeclIterator(
    clang::ASTReader* Reader,
    clang::ASTReader::ModuleFile* Mod,
    const serialization::LocalDeclID* Pos)

Declared at: clang/include/clang/Serialization/ASTReader.h:1437

Parameters

clang::ASTReader* Reader
clang::ASTReader::ModuleFile* Mod
const serialization::LocalDeclID* Pos