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);
Defines various enumerations that describe declaration and type specifiers.
A POD class for pairing a NamedDecl* with an access specifier.
static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS)
void setDecl(NamedDecl *D)
NamedDecl * getDecl() const
void set(NamedDecl *D, AccessSpecifier AS)
NamedDecl * operator->() const
void setAccess(AccessSpecifier AS)
AccessSpecifier getAccess() const
This represents a decl that may have a name.
AccessSpecifier
A C++ access specifier (public, private, protected), plus the special value "none" which means differ...
__UINTPTR_TYPE__ uintptr_t
An unsigned integer type with the property that any valid pointer to void can be converted to this ty...