[Lldb-commits] [lldb] 35fa46a - Improve comment

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 29 13:37:50 PDT 2024


Author: Adrian Prantl
Date: 2024-04-29T13:37:37-07:00
New Revision: 35fa46a56ae2a220de514e5de5c5e6b4607f5ebb

URL: https://github.com/llvm/llvm-project/commit/35fa46a56ae2a220de514e5de5c5e6b4607f5ebb
DIFF: https://github.com/llvm/llvm-project/commit/35fa46a56ae2a220de514e5de5c5e6b4607f5ebb.diff

LOG: Improve comment

Added: 
    

Modified: 
    lldb/source/Commands/CommandObjectDWIMPrint.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Commands/CommandObjectDWIMPrint.cpp b/lldb/source/Commands/CommandObjectDWIMPrint.cpp
index f0b37e6832eab0..57a372a762e150 100644
--- a/lldb/source/Commands/CommandObjectDWIMPrint.cpp
+++ b/lldb/source/Commands/CommandObjectDWIMPrint.cpp
@@ -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();


        


More information about the lldb-commits mailing list