Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl committed Apr 29, 2024
1 parent 9d955a6 commit 35fa46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Commands/CommandObjectDWIMPrint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 35fa46a

Please sign in to comment.