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 0be194f commit 2008cb6Copy full SHA for 2008cb6
lldb/source/Symbol/Type.cpp
@@ -761,6 +761,13 @@ TypeAndOrName::TypeAndOrName(const char *in_type_str)
761
TypeAndOrName::TypeAndOrName(ConstString &in_type_const_string)
762
: m_type_name(in_type_const_string) {}
763
764
+TypeAndOrName::TypeAndOrName(const CompilerType &type)
765
+ : m_compiler_type(type)
766
+{
767
+ if (m_compiler_type)
768
+ m_type_name = m_compiler_type.GetTypeName();
769
+}
770
+
771
bool TypeAndOrName::operator==(const TypeAndOrName &other) const {
772
if (m_compiler_type != other.m_compiler_type)
773
return false;
0 commit comments