forked from OSchip/llvm-project
New compiler warnings caught issues with the m_encoding_uid field that should have been a lldb::user_id_t type, but was a uint32_t a long time ago and never got updated.
llvm-svn: 167774
This commit is contained in:
parent
d091afe620
commit
45f6973967
|
@ -302,7 +302,7 @@ protected:
|
|||
SymbolFile *m_symbol_file;
|
||||
SymbolContextScope *m_context; // The symbol context in which this type is defined
|
||||
Type *m_encoding_type;
|
||||
uint32_t m_encoding_uid;
|
||||
lldb::user_id_t m_encoding_uid;
|
||||
EncodingDataType m_encoding_uid_type;
|
||||
uint32_t m_byte_size;
|
||||
Declaration m_decl;
|
||||
|
|
|
@ -80,7 +80,7 @@ Type::Type () :
|
|||
m_symbol_file (NULL),
|
||||
m_context (NULL),
|
||||
m_encoding_type (NULL),
|
||||
m_encoding_uid (0),
|
||||
m_encoding_uid (LLDB_INVALID_UID),
|
||||
m_encoding_uid_type (eEncodingInvalid),
|
||||
m_byte_size (0),
|
||||
m_decl (),
|
||||
|
@ -150,7 +150,7 @@ Type::GetDescription (Stream *s, lldb::DescriptionLevel level, bool show_name)
|
|||
}
|
||||
else if (m_encoding_uid != LLDB_INVALID_UID)
|
||||
{
|
||||
s->Printf(", type_uid = 0x%8.8x", m_encoding_uid);
|
||||
s->Printf(", type_uid = 0x%8.8llx", m_encoding_uid);
|
||||
switch (m_encoding_uid_type)
|
||||
{
|
||||
case eEncodingInvalid: break;
|
||||
|
|
Loading…
Reference in New Issue