Searched refs:PtrMask (Results 1 – 2 of 2) sorted by relevance
76 PtrMask = 0x03 enumerator104 return static_cast<StoredNameKind>(Ptr & PtrMask); in getStoredNameKind()112 return reinterpret_cast<DeclarationNameExtra *>(Ptr & ~PtrMask); in getExtra()121 return reinterpret_cast<CXXSpecialName *>(Ptr & ~PtrMask); in getAsCXXSpecialName()128 return reinterpret_cast<CXXOperatorIdName *>(Ptr & ~PtrMask); in getAsCXXOperatorIdName()134 return reinterpret_cast<CXXLiteralOperatorIdName *>(Ptr & ~PtrMask); in getAsCXXLiteralOperatorIdName()142 assert((Ptr & PtrMask) == 0 && "Improperly aligned CXXSpecialName"); in DeclarationName()150 assert((Ptr & PtrMask) == 0 && "Improperly aligned CXXOperatorId"); in DeclarationName()156 assert((Ptr & PtrMask) == 0 && "Improperly aligned CXXLiteralOperatorId"); in DeclarationName()177 assert((Ptr & PtrMask) == 0 && "Improperly aligned IdentifierInfo"); in DeclarationName()[all …]
184 PtrMask = 7, enumerator257 return static_cast<StoredNameKind>(Ptr & PtrMask); in getStoredNameKind()260 void *getPtr() const { return reinterpret_cast<void *>(Ptr & ~PtrMask); } in getPtr()264 assert((Kind & ~PtrMask) == 0 && in setPtrAndKind()266 assert((PAsInteger & PtrMask) == 0 && in setPtrAndKind()