mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
Improve comment
This commit is contained in:
@@ -93,7 +93,7 @@ void CommandObjectDWIMPrint::DoExecute(StringRef command,
|
||||
|
||||
StackFrame *frame = m_exe_ctx.GetFramePtr();
|
||||
|
||||
// Either Swift was explicitly specified, or the frame is Swift.
|
||||
// Either the language was explicitly specified, or we check the frame.
|
||||
lldb::LanguageType language = m_expr_options.language;
|
||||
if (language == lldb::eLanguageTypeUnknown && frame)
|
||||
language = frame->GuessLanguage().AsLanguageType();
|
||||
|
||||
Reference in New Issue
Block a user