[Lldb-commits] [lldb] r175841 - The summary for const char* was not cascading.

Enrico Granata egranata at apple.com
Thu Feb 21 16:37:32 PST 2013


Author: enrico
Date: Thu Feb 21 18:37:31 2013
New Revision: 175841

URL: http://llvm.org/viewvc/llvm-project?rev=175841&view=rev
Log:
The summary for const char* was not cascading.
This was preventing us from providing a summary for the result of std::string.c_str() with libc++


Modified:
    lldb/trunk/source/DataFormatters/FormatManager.cpp

Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatManager.cpp?rev=175841&r1=175840&r2=175841&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatManager.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatManager.cpp Thu Feb 21 18:37:31 2013
@@ -675,7 +675,7 @@ FormatManager::LoadSystemFormatters()
 {
     
     TypeSummaryImpl::Flags string_flags;
-    string_flags.SetCascades(false)
+    string_flags.SetCascades(true)
     .SetSkipPointers(true)
     .SetSkipReferences(false)
     .SetDontShowChildren(true)





More information about the lldb-commits mailing list