clang
7.0.0
|
A POD class for pairing a NamedDecl* with an access specifier. More...
#include "clang/AST/DeclAccessPair.h"
Public Member Functions | |
NamedDecl * | getDecl () const |
AccessSpecifier | getAccess () const |
void | setDecl (NamedDecl *D) |
void | setAccess (AccessSpecifier AS) |
void | set (NamedDecl *D, AccessSpecifier AS) |
operator NamedDecl * () const | |
NamedDecl * | operator-> () const |
Static Public Member Functions | |
static DeclAccessPair | make (NamedDecl *D, AccessSpecifier AS) |
A POD class for pairing a NamedDecl* with an access specifier.
Can be put into unions.
Definition at line 30 of file DeclAccessPair.h.
|
inline |
Definition at line 45 of file DeclAccessPair.h.
Referenced by clang::Sema::CheckAddressOfMemberAccess(), clang::Sema::CheckAllocationAccess(), clang::Sema::CheckConstructorAccess(), clang::Sema::CheckMemberAccess(), clang::Sema::CheckMemberOperatorAccess(), clang::MemberExpr::Create(), and setDecl().
|
inline |
Definition at line 42 of file DeclAccessPair.h.
Referenced by clang::Sema::AddMethodCandidate(), clang::Sema::CheckConstructorAccess(), clang::MemberExpr::Create(), operator NamedDecl *(), operator->(), PerformConstructorInitialization(), setAccess(), and clang::tooling::RecursiveSymbolVisitor< T >::VisitMemberExpr().
|
inlinestatic |
Definition at line 36 of file DeclAccessPair.h.
References set().
Referenced by clang::Sema::ActOnCXXDelete(), clang::Sema::AddBuiltinCandidate(), clang::ASTUnresolvedSet::addDecl(), clang::UnresolvedSetImpl::addDecl(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::CodeCompleteConstructor(), clang::getConstructorInfo(), and clang::MemberExpr::getFoundDecl().
|
inline |
Definition at line 59 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 60 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 55 of file DeclAccessPair.h.
Referenced by make().
|
inline |
Definition at line 52 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 49 of file DeclAccessPair.h.
References getAccess().