Improve comment

This commit is contained in:
Adrian Prantl
2024-04-29 13:37:26 -07:00
parent 9d955a63c7
commit 35fa46a56a

View File

@@ -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();