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 015c528 commit 95918f8Copy full SHA for 95918f8
lldb/source/Symbol/Type.cpp
@@ -747,6 +747,13 @@ TypeAndOrName::TypeAndOrName(const char *in_type_str)
747
TypeAndOrName::TypeAndOrName(ConstString &in_type_const_string)
748
: m_type_name(in_type_const_string) {}
749
750
+TypeAndOrName::TypeAndOrName(const CompilerType &type)
751
+ : m_compiler_type(type)
752
+{
753
+ if (m_compiler_type)
754
+ m_type_name = m_compiler_type.GetTypeName();
755
+}
756
+
757
bool TypeAndOrName::operator==(const TypeAndOrName &other) const {
758
if (m_compiler_type != other.m_compiler_type)
759
return false;
0 commit comments