Replace uint32_t with typedef (NFC)

This commit is contained in:
Adrian Prantl 2020-03-31 14:58:25 -07:00
parent 00efcd6fff
commit ec11c5615a
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public:
TypePayloadClang() = default;
explicit TypePayloadClang(bool is_complete_objc_class);
explicit TypePayloadClang(uint32_t opaque_payload) : m_payload(opaque_payload) {}
operator uint32_t() { return m_payload; }
operator Type::Payload() { return m_payload; }
static constexpr unsigned ObjCClassBit = 1 << 31;
bool IsCompleteObjCClass() { return Flags(m_payload).Test(ObjCClassBit); }