We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ececf5e commit 68f4fe0Copy full SHA for 68f4fe0
lldb/source/Symbol/Type.cpp
@@ -736,6 +736,13 @@ TypeAndOrName::TypeAndOrName(const char *in_type_str)
736
TypeAndOrName::TypeAndOrName(ConstString &in_type_const_string)
737
: m_type_name(in_type_const_string) {}
738
739
+TypeAndOrName::TypeAndOrName(const CompilerType &type)
740
+ : m_compiler_type(type)
741
+{
742
+ if (m_compiler_type)
743
+ m_type_name = m_compiler_type.GetTypeName();
744
+}
745
+
746
bool TypeAndOrName::operator==(const TypeAndOrName &other) const {
747
if (m_compiler_type != other.m_compiler_type)
748
return false;
0 commit comments