clang
10.0.0git
|
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 29 of file DeclAccessPair.h.
|
inline |
Definition at line 44 of file DeclAccessPair.h.
Referenced by addSubstitutionDiagnostic(), clang::Sema::CheckAddressOfMemberAccess(), clang::Sema::CheckAllocationAccess(), clang::Sema::CheckConstructorAccess(), clang::Sema::CheckMemberAccess(), checkMemberDecomposition(), clang::Sema::CheckMemberOperatorAccess(), clang::Sema::CheckStructuredBindingMemberAccess(), clang::Sema::CheckUnresolvedLookupAccess(), clang::Sema::CheckUnresolvedMemberAccess(), clang::Sema::isMemberAccessibleForDeletion(), setDecl(), and clang::ASTNodeImporter::VisitMemberExpr().
|
inline |
Definition at line 41 of file DeclAccessPair.h.
Referenced by clang::Sema::AddMethodCandidate(), addSubstitutionDiagnostic(), clang::Sema::CheckConstructorAccess(), checkMemberDecomposition(), collectViableConversionCandidates(), IsUserDefinedConversion(), operator NamedDecl *(), operator->(), PerformConstructorInitialization(), setAccess(), clang::tooling::RecursiveSymbolVisitor< T >::VisitMemberExpr(), and clang::ASTNodeImporter::VisitMemberExpr().
|
inlinestatic |
Definition at line 35 of file DeclAccessPair.h.
References set().
Referenced by clang::Sema::ActOnCXXDelete(), clang::Sema::AddBuiltinCandidate(), clang::ASTUnresolvedSet::addDecl(), clang::UnresolvedSetImpl::addDecl(), clang::Sema::BuildAnonymousStructUnionMemberReference(), checkMemberDecomposition(), clang::MemberExpr::CreateImplicit(), clang::getConstructorInfo(), clang::MemberExpr::getFoundDecl(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::ProduceConstructorSignatureHelp(), clang::TemplateDeclInstantiator::SubstDefaultedFunction(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::ASTNodeImporter::VisitMemberExpr().
|
inline |
Definition at line 58 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 59 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 54 of file DeclAccessPair.h.
Referenced by make().
|
inline |
Definition at line 51 of file DeclAccessPair.h.
References getDecl().
|
inline |
Definition at line 48 of file DeclAccessPair.h.
References getAccess().