clang 20.0.0git
|
A POD class for pairing a NamedDecl* with an access specifier. More...
#include "clang/AST/DeclAccessPair.h"
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 |
Static Public Member Functions | |
static DeclAccessPair | make (NamedDecl *D, AccessSpecifier AS) |
static DeclAccessPair | makeLazy (uint64_t ID, 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 65 of file DeclAccessPair.h.
Referenced by checkMemberDecomposition(), and setDecl().
|
inline |
Definition at line 61 of file DeclAccessPair.h.
Referenced by checkMemberDecomposition(), clang::isBetterOverloadCandidate(), clang::Sema::LookupSpecialMember(), operator NamedDecl *(), operator->(), PerformConstructorInitialization(), and setAccess().
|
inline |
Definition at line 56 of file DeclAccessPair.h.
|
inlinestatic |
Definition at line 44 of file DeclAccessPair.h.
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(), 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(), clang::Sema::PerformContextualImplicitConversion(), processImplicitMapsWithDefaultMappers(), clang::SemaCodeCompletion::ProduceCallSignatureHelp(), clang::SemaCodeCompletion::ProduceConstructorSignatureHelp(), clang::TreeTransform< Derived >::RebuildMemberExpr(), clang::TemplateDeclInstantiator::SubstDefaultedFunction(), TryTypoCorrectionForCall(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::ASTNodeImporter::VisitMemberExpr().
|
inlinestatic |
Definition at line 50 of file DeclAccessPair.h.
References ID.
Referenced by clang::ASTUnresolvedSet::addLazyDecl().
|
inline |
Definition at line 77 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 78 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 73 of file DeclAccessPair.h.
References D.
Referenced by make(), setAccess(), and setDecl().
|
inline |
Definition at line 70 of file DeclAccessPair.h.
|
inline |
Definition at line 67 of file DeclAccessPair.h.
References D, getAccess(), and set().