Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
Show First 20 Lines • Show All 908 Lines • ▼ Show 20 Lines | cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | ||||
stl_deref_flags, | stl_deref_flags, | ||||
"lldb.formatters.cpp.gnu_libstdcpp.StdMapLikeSynthProvider"))); | "lldb.formatters.cpp.gnu_libstdcpp.StdMapLikeSynthProvider"))); | ||||
cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | ||||
RegularExpression("^std::multimap<.+> >(( )?&)?$"), | RegularExpression("^std::multimap<.+> >(( )?&)?$"), | ||||
SyntheticChildrenSP(new ScriptedSyntheticChildren( | SyntheticChildrenSP(new ScriptedSyntheticChildren( | ||||
stl_deref_flags, | stl_deref_flags, | ||||
"lldb.formatters.cpp.gnu_libstdcpp.StdMapLikeSynthProvider"))); | "lldb.formatters.cpp.gnu_libstdcpp.StdMapLikeSynthProvider"))); | ||||
cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | ||||
RegularExpression("^std::optional<.+>(( )?&)?$"), | |||||
SyntheticChildrenSP(new ScriptedSyntheticChildren( | |||||
stl_synth_flags, | |||||
"lldb.formatters.cpp.gnu_libstdcpp.StdOptionalSynthProvider"))); | |||||
cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | |||||
RegularExpression("^std::multiset<.+> >(( )?&)?$"), | RegularExpression("^std::multiset<.+> >(( )?&)?$"), | ||||
SyntheticChildrenSP(new ScriptedSyntheticChildren( | SyntheticChildrenSP(new ScriptedSyntheticChildren( | ||||
stl_deref_flags, | stl_deref_flags, | ||||
"lldb.formatters.cpp.gnu_libstdcpp.StdMapLikeSynthProvider"))); | "lldb.formatters.cpp.gnu_libstdcpp.StdMapLikeSynthProvider"))); | ||||
cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | ||||
RegularExpression("^std::unordered_(multi)?(map|set)<.+> >$"), | RegularExpression("^std::unordered_(multi)?(map|set)<.+> >$"), | ||||
SyntheticChildrenSP(new ScriptedSyntheticChildren( | SyntheticChildrenSP(new ScriptedSyntheticChildren( | ||||
stl_deref_flags, | stl_deref_flags, | ||||
"lldb.formatters.cpp.gnu_libstdcpp.StdUnorderedMapSynthProvider"))); | "lldb.formatters.cpp.gnu_libstdcpp.StdUnorderedMapSynthProvider"))); | ||||
cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | ||||
RegularExpression("^std::(__cxx11::)?list<.+>(( )?&)?$"), | RegularExpression("^std::(__cxx11::)?list<.+>(( )?&)?$"), | ||||
SyntheticChildrenSP(new ScriptedSyntheticChildren( | SyntheticChildrenSP(new ScriptedSyntheticChildren( | ||||
stl_synth_flags, | stl_synth_flags, | ||||
"lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider"))); | "lldb.formatters.cpp.gnu_libstdcpp.StdListSynthProvider"))); | ||||
cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | cpp_category_sp->GetRegexTypeSyntheticsContainer()->Add( | ||||
RegularExpression("^std::(__cxx11::)?forward_list<.+>(( )?&)?$"), | RegularExpression("^std::(__cxx11::)?forward_list<.+>(( )?&)?$"), | ||||
SyntheticChildrenSP(new ScriptedSyntheticChildren( | SyntheticChildrenSP(new ScriptedSyntheticChildren( | ||||
stl_synth_flags, | stl_synth_flags, | ||||
"lldb.formatters.cpp.gnu_libstdcpp.StdForwardListSynthProvider"))); | "lldb.formatters.cpp.gnu_libstdcpp.StdForwardListSynthProvider"))); | ||||
stl_summary_flags.SetDontShowChildren(false); | stl_summary_flags.SetDontShowChildren(false); | ||||
stl_summary_flags.SetSkipPointers(false); | stl_summary_flags.SetSkipPointers(false); | ||||
cpp_category_sp->GetRegexTypeSummariesContainer()->Add( | cpp_category_sp->GetRegexTypeSummariesContainer()->Add( | ||||
RegularExpression("^std::optional<.+>(( )?&)?$"), | |||||
TypeSummaryImplSP(new ScriptSummaryFormat( | |||||
stl_summary_flags, | |||||
"lldb.formatters.cpp.gnu_libstdcpp.StdOptionalSummaryProvider"))); | |||||
cpp_category_sp->GetRegexTypeSummariesContainer()->Add( | |||||
RegularExpression("^std::bitset<.+>(( )?&)?$"), | RegularExpression("^std::bitset<.+>(( )?&)?$"), | ||||
TypeSummaryImplSP( | TypeSummaryImplSP( | ||||
new StringSummaryFormat(stl_summary_flags, "size=${svar%#}"))); | new StringSummaryFormat(stl_summary_flags, "size=${svar%#}"))); | ||||
cpp_category_sp->GetRegexTypeSummariesContainer()->Add( | cpp_category_sp->GetRegexTypeSummariesContainer()->Add( | ||||
RegularExpression("^std::vector<.+>(( )?&)?$"), | RegularExpression("^std::vector<.+>(( )?&)?$"), | ||||
TypeSummaryImplSP( | TypeSummaryImplSP( | ||||
new StringSummaryFormat(stl_summary_flags, "size=${svar%#}"))); | new StringSummaryFormat(stl_summary_flags, "size=${svar%#}"))); | ||||
cpp_category_sp->GetRegexTypeSummariesContainer()->Add( | cpp_category_sp->GetRegexTypeSummariesContainer()->Add( | ||||
▲ Show 20 Lines • Show All 334 Lines • Show Last 20 Lines |