[Lldb-commits] [lldb] ec11c56 - Replace uint32_t with typedef (NFC)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 31 14:58:49 PDT 2020


Author: Adrian Prantl
Date: 2020-03-31T14:58:25-07:00
New Revision: ec11c5615a7c153a68d098903edebbb92719f5f9

URL: https://github.com/llvm/llvm-project/commit/ec11c5615a7c153a68d098903edebbb92719f5f9
DIFF: https://github.com/llvm/llvm-project/commit/ec11c5615a7c153a68d098903edebbb92719f5f9.diff

LOG: Replace uint32_t with typedef (NFC)

Added: 
    

Modified: 
    lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
index 7be259a85669..f355681f2679 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
@@ -61,7 +61,7 @@ class TypePayloadClang {
   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); }


        


More information about the lldb-commits mailing list