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 98afe72 commit 4e40b4fCopy full SHA for 4e40b4f
lldb/source/Symbol/Type.cpp
@@ -735,6 +735,13 @@ TypeAndOrName::TypeAndOrName(const char *in_type_str)
735
TypeAndOrName::TypeAndOrName(ConstString &in_type_const_string)
736
: m_type_name(in_type_const_string) {}
737
738
+TypeAndOrName::TypeAndOrName(const CompilerType &type)
739
+ : m_compiler_type(type)
740
+{
741
+ if (m_compiler_type)
742
+ m_type_name = m_compiler_type.GetTypeName();
743
+}
744
+
745
bool TypeAndOrName::operator==(const TypeAndOrName &other) const {
746
if (m_compiler_type != other.m_compiler_type)
747
return false;
0 commit comments