clang  12.0.0git
Public Types | Public Member Functions | List of all members
clang::ASTImporter::ImportPathTy Class Reference

#include "clang/AST/ASTImporter.h"

Public Types

using VecTy = llvm::SmallVector< Decl *, 32 >
 
using Cycle = llvm::iterator_range< VecTy::const_reverse_iterator >
 

Public Member Functions

void push (Decl *D)
 
void pop ()
 
bool hasCycleAtBack () const
 Returns true if the last element can be found earlier in the path. More...
 
Cycle getCycleAtBack () const
 
VecTy copyCycleAtBack () const
 Returns the copy of the cycle. More...
 

Detailed Description

Definition at line 177 of file ASTImporter.h.

Member Typedef Documentation

◆ Cycle

using clang::ASTImporter::ImportPathTy::Cycle = llvm::iterator_range<VecTy::const_reverse_iterator>

Definition at line 199 of file ASTImporter.h.

◆ VecTy

Definition at line 179 of file ASTImporter.h.

Member Function Documentation

◆ copyCycleAtBack()

VecTy clang::ASTImporter::ImportPathTy::copyCycleAtBack ( ) const
inline

Returns the copy of the cycle.

Definition at line 208 of file ASTImporter.h.

References getCycleAtBack().

Referenced by clang::ASTImporter::Import().

◆ getCycleAtBack()

Cycle clang::ASTImporter::ImportPathTy::getCycleAtBack ( ) const
inline

Definition at line 200 of file ASTImporter.h.

Referenced by copyCycleAtBack().

◆ hasCycleAtBack()

bool clang::ASTImporter::ImportPathTy::hasCycleAtBack ( ) const
inline

Returns true if the last element can be found earlier in the path.

Definition at line 194 of file ASTImporter.h.

Referenced by clang::ASTImporter::Import().

◆ pop()

void clang::ASTImporter::ImportPathTy::pop ( )
inline

Definition at line 186 of file ASTImporter.h.

Referenced by clang::ASTImporter::Import().

◆ push()

void clang::ASTImporter::ImportPathTy::push ( Decl D)
inline

Definition at line 181 of file ASTImporter.h.

Referenced by clang::ASTImporter::Import().


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