Renaming a bulk of method calls from Get() to something more descriptive
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139435 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectFrame.cpp b/source/Commands/CommandObjectFrame.cpp
index 1247209..58cb095 100644
--- a/source/Commands/CommandObjectFrame.cpp
+++ b/source/Commands/CommandObjectFrame.cpp
@@ -394,7 +394,7 @@
SummaryFormatSP summary_format_sp;
if (!m_option_variable.summary.empty())
- DataVisualization::NamedSummaryFormats::Get(ConstString(m_option_variable.summary.c_str()), summary_format_sp);
+ DataVisualization::NamedSummaryFormats::GetSummaryFormat(ConstString(m_option_variable.summary.c_str()), summary_format_sp);
ValueObject::DumpValueObjectOptions options;
diff --git a/source/Commands/CommandObjectType.cpp b/source/Commands/CommandObjectType.cpp
index cfdfc98..6c6b842 100644
--- a/source/Commands/CommandObjectType.cpp
+++ b/source/Commands/CommandObjectType.cpp
@@ -1049,7 +1049,7 @@
Error* error)
{
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(category_name.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(category_name.c_str()), category);
if (type == eRegexSummary)
{
@@ -1234,7 +1234,7 @@
}
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(m_options.m_category.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(m_options.m_category.c_str()), category);
bool delete_category = category->Delete(typeCS,
eFormatCategoryItemSummary | eFormatCategoryItemRegexSummary);
@@ -1365,10 +1365,10 @@
{
const char* cat_name = command.GetArgumentAtIndex(0);
ConstString cat_nameCS(cat_name);
- DataVisualization::Categories::Get(cat_nameCS, category);
+ DataVisualization::Categories::GetCategory(cat_nameCS, category);
}
else
- DataVisualization::Categories::Get(ConstString(NULL), category);
+ DataVisualization::Categories::GetCategory(ConstString(NULL), category);
category->Clear(eFormatCategoryItemSummary | eFormatCategoryItemRegexSummary);
}
@@ -1667,7 +1667,7 @@
}
DataVisualization::Categories::Enable(typeCS);
lldb::FormatCategorySP cate;
- if (DataVisualization::Categories::Get(typeCS, cate) && cate.get())
+ if (DataVisualization::Categories::GetCategory(typeCS, cate) && cate.get())
{
if (cate->GetCount() == 0)
{
@@ -2462,7 +2462,7 @@
}
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(m_options.m_category.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(m_options.m_category.c_str()), category);
bool delete_category = category->GetFilterNavigator()->Delete(typeCS);
delete_category = category->GetRegexFilterNavigator()->Delete(typeCS) || delete_category;
@@ -2624,7 +2624,7 @@
}
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(m_options.m_category.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(m_options.m_category.c_str()), category);
bool delete_category = category->GetSyntheticNavigator()->Delete(typeCS);
delete_category = category->GetRegexSyntheticNavigator()->Delete(typeCS) || delete_category;
@@ -2757,10 +2757,10 @@
{
const char* cat_name = command.GetArgumentAtIndex(0);
ConstString cat_nameCS(cat_name);
- DataVisualization::Categories::Get(cat_nameCS, category);
+ DataVisualization::Categories::GetCategory(cat_nameCS, category);
}
else
- DataVisualization::Categories::Get(ConstString(NULL), category);
+ DataVisualization::Categories::GetCategory(ConstString(NULL), category);
category->GetFilterNavigator()->Clear();
category->GetRegexFilterNavigator()->Clear();
}
@@ -2883,10 +2883,10 @@
{
const char* cat_name = command.GetArgumentAtIndex(0);
ConstString cat_nameCS(cat_name);
- DataVisualization::Categories::Get(cat_nameCS, category);
+ DataVisualization::Categories::GetCategory(cat_nameCS, category);
}
else
- DataVisualization::Categories::Get(ConstString(NULL), category);
+ DataVisualization::Categories::GetCategory(ConstString(NULL), category);
category->GetSyntheticNavigator()->Clear();
category->GetRegexSyntheticNavigator()->Clear();
}
@@ -3037,7 +3037,7 @@
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(options->m_category.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(options->m_category.c_str()), category);
Error error;
@@ -3156,7 +3156,7 @@
// now I have a valid provider, let's add it to every type
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(m_options.m_category.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(m_options.m_category.c_str()), category);
Error error;
@@ -3215,7 +3215,7 @@
Error* error)
{
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(category_name.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(category_name.c_str()), category);
if (category->AnyMatches(type_name,
eFormatCategoryItemFilter | eFormatCategoryItemRegexFilter,
@@ -3392,7 +3392,7 @@
Error* error)
{
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(category_name.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(category_name.c_str()), category);
if (category->AnyMatches(type_name,
eFormatCategoryItemSynth | eFormatCategoryItemRegexSynth,
@@ -3514,7 +3514,7 @@
// now I have a valid provider, let's add it to every type
lldb::FormatCategorySP category;
- DataVisualization::Categories::Get(ConstString(m_options.m_category.c_str()), category);
+ DataVisualization::Categories::GetCategory(ConstString(m_options.m_category.c_str()), category);
Error error;