clang  6.0.0svn
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 NextIsPrevious () const
 
bool NextIsLatest () const
 
decl_type * getNext (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 89 of file Redeclarable.h.

Member Enumeration Documentation

◆ LatestTag

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

Definition at line 112 of file Redeclarable.h.

◆ PreviousTag

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

Definition at line 111 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

◆ DeclLink() [2/2]

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

Definition at line 116 of file Redeclarable.h.

Member Function Documentation

◆ getLatestNotUpdated()

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

◆ getNext()

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

Definition at line 127 of file Redeclarable.h.

◆ markIncomplete()

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

◆ NextIsLatest()

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

◆ NextIsPrevious()

template<typename decl_type>
bool clang::Redeclarable< decl_type >::DeclLink::NextIsPrevious ( ) const
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

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