The summary for const char* was not cascading.
authorEnrico Granata <egranata@apple.com>
Fri, 22 Feb 2013 00:37:31 +0000 (00:37 +0000)
committerEnrico Granata <egranata@apple.com>
Fri, 22 Feb 2013 00:37:31 +0000 (00:37 +0000)
This was preventing us from providing a summary for the result of std::string.c_str() with libc++

llvm-svn: 175841

lldb/source/DataFormatters/FormatManager.cpp

index 52986cf..d0471f4 100644 (file)
@@ -675,7 +675,7 @@ FormatManager::LoadSystemFormatters()
 {
     
     TypeSummaryImpl::Flags string_flags;
-    string_flags.SetCascades(false)
+    string_flags.SetCascades(true)
     .SetSkipPointers(true)
     .SetSkipReferences(false)
     .SetDontShowChildren(true)