clang: clang::DeclAccessPair Class Reference (original) (raw)

A POD class for pairing a NamedDecl* with an access specifier. More...

#include "[clang/AST/DeclAccessPair.h](DeclAccessPair%5F8h%5Fsource.html)"

Public Member Functions
uint64_t getDeclID () const
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

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

getAccess()

getDecl()

NamedDecl * clang::DeclAccessPair::getDecl ( ) const inline

Definition at line 61 of file DeclAccessPair.h.

Referenced by clang::Sema::AddMethodCandidate(), clang::Sema::AddOverloadCandidate(), AddOverloadedCallCandidate(), clang::Sema::BuildCallToMemberFunction(), checkMemberDecomposition(), CheckMemberDecompositionFields(), clang::MemberExpr::Create(), clang::Sema::GetDecompositionElementCount(), clang::isBetterOverloadCandidate(), IsUserDefinedConversion(), clang::Sema::LookupSpecialMember(), operator NamedDecl *(), operator->(), PerformConstructorInitialization(), setAccess(), and clang::ASTNodeImporter::VisitMemberExpr().

getDeclID()

uint64_t clang::DeclAccessPair::getDeclID ( ) const inline

make()

Definition at line 44 of file DeclAccessPair.h.

References set().

Referenced by clang::Sema::ActOnCXXDelete(), clang::Sema::AddArgumentDependentLookupCandidates(), clang::Sema::AddBuiltinCandidate(), clang::ASTUnresolvedSet::addDecl(), clang::UnresolvedSetImpl::addDecl(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::BuildCallToMemberFunction(), clang::Sema::BuildCXXMemberCallExpr(), buildImplicitMap(), clang::Sema::CheckConstructorAccess(), clang::Sema::CheckDestructorAccess(), clang::Sema::CheckFriendAccess(), checkMemberDecomposition(), CheckMemberDecompositionFields(), clang::Sema::CheckVarTemplateId(), ComputeSelectedDestructor(), clang::MemberExpr::CreateImplicit(), clang::Sema::DeduceTemplateSpecializationFromInitializer(), clang::Sema::DiagnoseEmptyLookup(), clang::Sema::FindAllocationFunctions(), findDecomposableBaseClass(), clang::getConstructorInfo(), clang::MemberExpr::getFoundDecl(), getPatternForClassTemplateSpecialization(), clang::Sema::HandleDependentAccessCheck(), clang::SemaOpenMP::isOpenMPCapturedDecl(), clang::Sema::IsSimplyAccessible(), clang::Sema::LookupSpecialMember(), LookupSpecialMemberFromXValue(), clang::Sema::PerformContextualImplicitConversion(), processImplicitMapsWithDefaultMappers(), clang::SemaCodeCompletion::ProduceCallSignatureHelp(), clang::SemaCodeCompletion::ProduceConstructorSignatureHelp(), clang::TreeTransform< AdjustConstraintDepth >::RebuildMemberExpr(), clang::TemplateDeclInstantiator::SubstDefaultedFunction(), TryTypoCorrectionForCall(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::ASTNodeImporter::VisitMemberExpr().

makeLazy()

operator NamedDecl *()

clang::DeclAccessPair::operator NamedDecl * ( ) const inline

operator->()

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

set()

setAccess()

setDecl()

void clang::DeclAccessPair::setDecl ( NamedDecl * D) inline

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