clang
3.9.0
|
A POD class for pairing a NamedDecl* with an access specifier. More...
#include <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::Sema::CheckUnresolvedLookupAccess(), clang::Sema::CheckUnresolvedMemberAccess(), clang::MemberExpr::Create(), setDecl(), and clang::ASTNodeImporter::VisitMemberExpr().
|
inline |
Definition at line 42 of file DeclAccessPair.h.
Referenced by clang::Sema::AddMethodCandidate(), AddOverloadedCallCandidate(), clang::Sema::CheckConstructorAccess(), collectViableConversionCandidates(), clang::MemberExpr::Create(), clang::Sema::FixOverloadedFunctionReference(), clang::isBetterOverloadCandidate(), IsUserDefinedConversion(), clang::Sema::LookupSpecialMember(), operator NamedDecl *(), operator->(), PerformConstructorInitialization(), setAccess(), and clang::ASTNodeImporter::VisitMemberExpr().
|
inlinestatic |
Definition at line 36 of file DeclAccessPair.h.
References set().
Referenced by clang::Sema::AddArgumentDependentLookupCandidates(), clang::Sema::AddBuiltinCandidate(), clang::ASTUnresolvedSet::addDecl(), clang::UnresolvedSetImpl::addDecl(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::BuildCallToMemberFunction(), clang::Sema::CheckConstructorAccess(), clang::Sema::CheckDestructorAccess(), clang::Sema::CheckFriendAccess(), clang::Sema::CheckVarTemplateId(), clang::Sema::CodeCompleteCall(), clang::Sema::CodeCompleteConstructor(), clang::Sema::DiagnoseEmptyLookup(), clang::getConstructorInfo(), clang::MemberExpr::getFoundDecl(), clang::Sema::HandleDependentAccessCheck(), clang::Sema::InstantiateClassTemplateSpecialization(), clang::Sema::IsSimplyAccessible(), clang::Sema::isSpecialMemberAccessibleForDeletion(), clang::Sema::LookupSpecialMember(), clang::Sema::PerformContextualImplicitConversion(), TryTypoCorrectionForCall(), and clang::ASTNodeImporter::VisitMemberExpr().
|
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(), setAccess(), and setDecl().
|
inline |
Definition at line 52 of file DeclAccessPair.h.
|
inline |
Definition at line 49 of file DeclAccessPair.h.
References getAccess(), and set().