mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 04:04:23 +08:00
[lldb][NFCI] Remove unused LanguageType parameters
These parameters are unused in these methods, and some of them only had a LanguageType parameter to pipe to other methods that don't use it either.
This commit is contained in:
@@ -1225,8 +1225,7 @@ const char *SBFrame::GetFunctionName() const {
|
||||
if (inlined_block) {
|
||||
const InlineFunctionInfo *inlined_info =
|
||||
inlined_block->GetInlinedFunctionInfo();
|
||||
name =
|
||||
inlined_info->GetName(sc.function->GetLanguage()).AsCString();
|
||||
name = inlined_info->GetName().AsCString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1269,8 +1268,7 @@ const char *SBFrame::GetDisplayFunctionName() {
|
||||
if (inlined_block) {
|
||||
const InlineFunctionInfo *inlined_info =
|
||||
inlined_block->GetInlinedFunctionInfo();
|
||||
name = inlined_info->GetDisplayName(sc.function->GetLanguage())
|
||||
.AsCString();
|
||||
name = inlined_info->GetDisplayName().AsCString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user