clang API Documentation

Public Types | Public Member Functions
clang::Redeclarable< decl_type >::DeclLink Class Reference

#include <Redeclarable.h>

List of all members.

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 ()

Detailed Description

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

Definition at line 28 of file Redeclarable.h.


Member Enumeration Documentation

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

Definition at line 47 of file Redeclarable.h.

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

Definition at line 46 of file Redeclarable.h.


Constructor & Destructor Documentation

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

Definition at line 49 of file Redeclarable.h.

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

Definition at line 51 of file Redeclarable.h.


Member Function Documentation

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

Definition at line 63 of file Redeclarable.h.

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

template<typename decl_type>
void clang::Redeclarable< decl_type >::DeclLink::markIncomplete ( ) [inline]
template<typename decl_type>
bool clang::Redeclarable< decl_type >::DeclLink::NextIsLatest ( ) const [inline]
template<typename decl_type>
bool clang::Redeclarable< decl_type >::DeclLink::NextIsPrevious ( ) const [inline]
template<typename decl_type>
void clang::Redeclarable< decl_type >::DeclLink::setLatest ( decl_type *  D) [inline]
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: