[Lldb-commits] [lldb] [lldb] Add type hints to gdbclientutils.py (PR #162172)

Daniel Sanders via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 7 14:59:24 PDT 2025


================
@@ -242,7 +245,7 @@ def qProcessInfo(self):
     def qHostInfo(self):
         return "ptrsize:8;endian:little;"
 
-    def qEcho(self):
+    def qEcho(self, _: int):
----------------
dsandersllvm wrote:

`_` is an ordinary parameter but this specific name is used as a placeholder for unused values so `_: int` is an integer parameter that's unused. The call that passes an int is on line 191 (https://github.com/llvm/llvm-project/pull/162172/files#diff-f47db48baf9a40e29541b77d2f05362f5074e19fa19d8c30037a75a4c275a517R191) and there are no other calls

https://github.com/llvm/llvm-project/pull/162172


More information about the lldb-commits mailing list