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