<rdar://problem/11505459> Stripping off the object's type from the output of the 'po' command
llvm-svn: 161592
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index 72cb131..35d372d 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -360,7 +360,8 @@
.SetIgnoreCap(false)
.SetFormat(format)
.SetSummary()
- .SetShowSummary(!m_command_options.print_object);
+ .SetShowSummary(!m_command_options.print_object)
+ .SetHideRootType(m_command_options.print_object);
ValueObject::DumpValueObject (*(output_stream),
result_valobj_sp.get(), // Variable object to dump