clang API Documentation

Public Member Functions | Static Public Member Functions
clang::DeclAccessPair Class Reference

#include <DeclAccessPair.h>

List of all members.

Public Member Functions

NamedDeclgetDecl () const
AccessSpecifier getAccess () const
void setDecl (NamedDecl *D)
void setAccess (AccessSpecifier AS)
void set (NamedDecl *D, AccessSpecifier AS)
 operator NamedDecl * () const
NamedDecloperator-> () const

Static Public Member Functions

static DeclAccessPair make (NamedDecl *D, AccessSpecifier AS)

Detailed Description

A POD class for pairing a NamedDecl* with an access specifier. Can be put into unions.

Definition at line 30 of file DeclAccessPair.h.


Member Function Documentation

static DeclAccessPair clang::DeclAccessPair::make ( NamedDecl D,
AccessSpecifier  AS 
) [inline, static]
clang::DeclAccessPair::operator NamedDecl * ( ) const [inline]

Definition at line 59 of file DeclAccessPair.h.

References getDecl().

NamedDecl* clang::DeclAccessPair::operator-> ( ) const [inline]

Definition at line 60 of file DeclAccessPair.h.

References getDecl().

void clang::DeclAccessPair::set ( NamedDecl D,
AccessSpecifier  AS 
) [inline]

Definition at line 55 of file DeclAccessPair.h.

Referenced by make().

Definition at line 52 of file DeclAccessPair.h.

References getDecl().

void clang::DeclAccessPair::setDecl ( NamedDecl D) [inline]

Definition at line 49 of file DeclAccessPair.h.

References getAccess().


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