diff options
| author | Enrico Granata <egranata@apple.com> | 2015-10-29 23:53:34 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2015-10-29 23:53:34 +0000 |
| commit | e5839f3eaedd5fca1af0e36425cc04ba6e099d35 (patch) | |
| tree | 2df1c71f6156946e82f305ee8385fc5bf771d284 /lldb/source/Plugins/Language/CPlusPlus | |
| parent | 76f7ecb83a72da43c0da871c8d9937ad0679c93a (diff) | |
| download | bcm5719-llvm-e5839f3eaedd5fca1af0e36425cc04ba6e099d35.tar.gz bcm5719-llvm-e5839f3eaedd5fca1af0e36425cc04ba6e099d35.zip | |
Remove two #if0ed regions of code that we were using for an experiment but don't really want
llvm-svn: 251670
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus')
| -rw-r--r-- | lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp index f6425222434..a554aa57d58 100644 --- a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp +++ b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp @@ -620,14 +620,6 @@ LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add(RegularExpressionSP(new RegularExpression("^std::(__cxx11::)?list<.+>(( )?&)?$")), SyntheticChildrenSP(new ScriptedSyntheticChildren(stl_synth_flags, "lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider"))); -#if 0 - // With only this, I get std::list showing the content, all children on the same line. - // With this and the section below, I see one child element per line. - cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add(RegularExpressionSP(new RegularExpression("^std::__cxx11::_List_base<.+>(( )?&)?$")), - SyntheticChildrenSP(new ScriptedSyntheticChildren(stl_synth_flags, - "lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider"))); -#endif - stl_summary_flags.SetDontShowChildren(false);stl_summary_flags.SetSkipPointers(true); cpp_category_sp->GetRegexTypeSummariesContainer()->Add(RegularExpressionSP(new RegularExpression("^std::vector<.+>(( )?&)?$")), TypeSummaryImplSP(new StringSummaryFormat(stl_summary_flags, @@ -638,12 +630,6 @@ LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) cpp_category_sp->GetRegexTypeSummariesContainer()->Add(RegularExpressionSP(new RegularExpression("^std::(__cxx11::)?list<.+>(( )?&)?$")), TypeSummaryImplSP(new StringSummaryFormat(stl_summary_flags, "size=${svar%#}"))); -#if 0 - // With this, I get std::list showing one child per line. Requires the change above to get anything, though. - cpp_category_sp->GetRegexTypeSummariesContainer()->Add(RegularExpressionSP(new RegularExpression("^std::__cxx11::_List_base<.+>(( )?&)?$")), - TypeSummaryImplSP(new StringSummaryFormat(stl_summary_flags, - "size=${svar%#}"))); -#endif AddCXXSynthetic(cpp_category_sp, lldb_private::formatters::LibStdcppVectorIteratorSyntheticFrontEndCreator, "std::vector iterator synthetic children", ConstString("^__gnu_cxx::__normal_iterator<.+>$"), stl_synth_flags, true); |

