18 #ifndef LLVM_CLANG_AST_DECLACCESSPAIR_H
19 #define LLVM_CLANG_AST_DECLACCESSPAIR_H
22 #include "llvm/Support/DataTypes.h"
43 return reinterpret_cast<NamedDecl*
>(~Mask & Ptr);
67 template<>
struct isPodLike<clang::DeclAccessPair> {
68 static const bool value =
true;
AccessSpecifier getAccess() 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)
NamedDecl * getDecl() const
__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)
void setAccess(AccessSpecifier AS)
Defines various enumerations that describe declaration and type specifiers.
A POD class for pairing a NamedDecl* with an access specifier.
void setDecl(NamedDecl *D)
NamedDecl - This represents a decl with a name.