[Lldb-commits] [PATCH] D16703: Fix TestDataFormatterScript for Linux.
Chaoren Lin via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 28 19:52:14 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL259153: Fix TestDataFormatterScript for Linux. (authored by chaoren).
Changed prior to commit:
http://reviews.llvm.org/D16703?vs=46330&id=46340#toc
Repository:
rL LLVM
http://reviews.llvm.org/D16703
Files:
lldb/trunk/source/DataFormatters/TypeSummary.cpp
Index: lldb/trunk/source/DataFormatters/TypeSummary.cpp
===================================================================
--- lldb/trunk/source/DataFormatters/TypeSummary.cpp
+++ lldb/trunk/source/DataFormatters/TypeSummary.cpp
@@ -263,21 +263,20 @@
SkipsPointers() ? " (skip pointers)" : "",
SkipsReferences() ? " (skip references)" : "",
HideNames(nullptr) ? " (hide member names)" : "");
- if (m_function_name.empty())
+ if (m_python_script.empty())
{
- if (m_python_script.empty())
+ if (m_function_name.empty())
{
sstr.PutCString("no backing script");
}
else
{
- sstr.PutCString(m_python_script.c_str());
+ sstr.PutCString(m_function_name.c_str());
}
}
else
{
- sstr.PutCString(m_function_name.c_str());
+ sstr.PutCString(m_python_script.c_str());
}
return sstr.GetString();
-
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16703.46340.patch
Type: text/x-patch
Size: 989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160129/289bfbc0/attachment.bin>
More information about the lldb-commits
mailing list