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); }


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to