friend class TypeCategoryImpl;
- FormattersContainer(std::string name, IFormatChangeListener *lst)
- : m_format_map(lst), m_name(name) {}
+ FormattersContainer(IFormatChangeListener *lst) : m_format_map(lst) {}
void Add(MapKeyType type, const MapValueType &entry) {
Add_Impl(std::move(type), entry, static_cast<KeyType *>(nullptr));
protected:
BackEndType m_format_map;
- std::string m_name;
FormattersContainer(const FormattersContainer &) = delete;
const FormattersContainer &operator=(const FormattersContainer &) = delete;
typedef
typename RegexMatchContainer::ForEachCallback RegexMatchForEachCallback;
- FormatterContainerPair(const char *exact_name, const char *regex_name,
- IFormatChangeListener *clist)
- : m_exact_sp(new ExactMatchContainer(std::string(exact_name), clist)),
- m_regex_sp(new RegexMatchContainer(std::string(regex_name), clist)) {}
+ FormatterContainerPair(IFormatChangeListener *clist)
+ : m_exact_sp(new ExactMatchContainer(clist)),
+ m_regex_sp(new RegexMatchContainer(clist)) {}
~FormatterContainerPair() = default;
TypeCategoryImpl::TypeCategoryImpl(IFormatChangeListener *clist,
ConstString name)
- : m_format_cont("format", "regex-format", clist),
- m_summary_cont("summary", "regex-summary", clist),
- m_filter_cont("filter", "regex-filter", clist),
- m_synth_cont("synth", "regex-synth", clist), m_enabled(false),
- m_change_listener(clist), m_mutex(), m_name(name), m_languages() {}
+ : m_format_cont(clist), m_summary_cont(clist), m_filter_cont(clist),
+ m_synth_cont(clist), m_enabled(false), m_change_listener(clist),
+ m_mutex(), m_name(name), m_languages() {}
static bool IsApplicable(lldb::LanguageType category_lang,
lldb::LanguageType valobj_lang) {