<rdar://problem/11505459> Stripping off the object's type from the output of the 'po' command

llvm-svn: 161592
This commit is contained in:
Enrico Granata
2012-08-09 16:51:25 +00:00
parent 8aba007fe1
commit 2b2631c915
5 changed files with 26 additions and 8 deletions

View File

@@ -360,7 +360,8 @@ CommandObjectExpression::EvaluateExpression
.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