mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
cleanup unreferenced functions
This is a mechanical cleanup of unused functions. In the case where the functions are referenced (in comment form), I've simply commented out the functions. A second pass to clean that up is warranted. The functions which are otherwise unused have been removed. Some of these were introduced in the initial commit and not in use prior to that point! NFC llvm-svn: 204310
This commit is contained in:
@@ -766,28 +766,6 @@ AddStringSummary(TypeCategoryImpl::SharedPointer category_sp,
|
||||
category_sp->GetTypeSummariesContainer()->Add(type_name, summary_sp);
|
||||
}
|
||||
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
static void
|
||||
AddScriptSummary(TypeCategoryImpl::SharedPointer category_sp,
|
||||
const char* funct_name,
|
||||
ConstString type_name,
|
||||
TypeSummaryImpl::Flags flags,
|
||||
bool regex = false)
|
||||
{
|
||||
|
||||
std::string code(" ");
|
||||
code.append(funct_name).append("(valobj,internal_dict)");
|
||||
|
||||
lldb::TypeSummaryImplSP summary_sp(new ScriptSummaryFormat(flags,
|
||||
funct_name,
|
||||
code.c_str()));
|
||||
if (regex)
|
||||
category_sp->GetRegexTypeSummariesContainer()->Add(RegularExpressionSP(new RegularExpression(type_name.AsCString())),summary_sp);
|
||||
else
|
||||
category_sp->GetTypeSummariesContainer()->Add(type_name, summary_sp);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
static void
|
||||
AddCXXSummary (TypeCategoryImpl::SharedPointer category_sp,
|
||||
|
||||
Reference in New Issue
Block a user