17 #ifndef LLVM_CLANG_AST_DECLACCESSPAIR_H 18 #define LLVM_CLANG_AST_DECLACCESSPAIR_H 21 #include "llvm/Support/DataTypes.h" 42 return reinterpret_cast<NamedDecl*
>(~Mask & Ptr);
NamedDecl * getDecl() const
AccessSpecifier
A C++ access specifier (public, private, protected), plus the special value "none" which means differ...
NamedDecl * operator->() const
static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS)
__UINTPTR_TYPE__ uintptr_t
An unsigned integer type with the property that any valid pointer to void can be converted to this ty...
void set(NamedDecl *D, AccessSpecifier AS)
AccessSpecifier getAccess() const
void setAccess(AccessSpecifier AS)
Defines various enumerations that describe declaration and type specifiers.
A POD class for pairing a NamedDecl* with an access specifier.
Dataflow Directional Tag Classes.
void setDecl(NamedDecl *D)
This represents a decl that may have a name.