clang 20.0.0git
Public Types | Public Member Functions | List of all members
clang::Redeclarable< decl_type >::DeclLink Class Reference

#include "clang/AST/Redeclarable.h"

Public Types

enum  PreviousTag { PreviousLink }
 
enum  LatestTag { LatestLink }
 

Public Member Functions

 DeclLink (LatestTag, const ASTContext &Ctx)
 
 DeclLink (PreviousTag, decl_type *D)
 
bool isFirst () const
 
decl_type * getPrevious (const decl_type *D) const
 
void setPrevious (decl_type *D)
 
void setLatest (decl_type *D)
 
void markIncomplete ()
 
DeclgetLatestNotUpdated () const
 

Detailed Description

template<typename decl_type>
class clang::Redeclarable< decl_type >::DeclLink

Definition at line 86 of file Redeclarable.h.

Member Enumeration Documentation

◆ LatestTag

template<typename decl_type >
enum clang::Redeclarable::DeclLink::LatestTag
Enumerator
LatestLink 

Definition at line 109 of file Redeclarable.h.

◆ PreviousTag

template<typename decl_type >
enum clang::Redeclarable::DeclLink::PreviousTag
Enumerator
PreviousLink 

Definition at line 108 of file Redeclarable.h.

Constructor & Destructor Documentation

◆ DeclLink() [1/2]

template<typename decl_type >
clang::Redeclarable< decl_type >::DeclLink::DeclLink ( LatestTag  ,
const ASTContext Ctx 
)
inline

Definition at line 111 of file Redeclarable.h.

◆ DeclLink() [2/2]

template<typename decl_type >
clang::Redeclarable< decl_type >::DeclLink::DeclLink ( PreviousTag  ,
decl_type *  D 
)
inline

Definition at line 113 of file Redeclarable.h.

Member Function Documentation

◆ getLatestNotUpdated()

template<typename decl_type >
Decl * clang::Redeclarable< decl_type >::DeclLink::getLatestNotUpdated ( ) const
inline

◆ getPrevious()

template<typename decl_type >
decl_type * clang::Redeclarable< decl_type >::DeclLink::getPrevious ( const decl_type *  D) const
inline

Definition at line 122 of file Redeclarable.h.

References D.

Referenced by clang::Redeclarable< decl_type >::getNextRedeclaration().

◆ isFirst()

template<typename decl_type >
bool clang::Redeclarable< decl_type >::DeclLink::isFirst ( ) const
inline

◆ markIncomplete()

template<typename decl_type >
void clang::Redeclarable< decl_type >::DeclLink::markIncomplete ( )
inline

◆ setLatest()

template<typename decl_type >
void clang::Redeclarable< decl_type >::DeclLink::setLatest ( decl_type *  D)
inline

◆ setPrevious()

template<typename decl_type >
void clang::Redeclarable< decl_type >::DeclLink::setPrevious ( decl_type *  D)
inline

Definition at line 137 of file Redeclarable.h.

References D, and clang::Redeclarable< decl_type >::DeclLink::isFirst().


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