[lldb] [llvm] [lldb] Add type hints to gdbclientutils.py and use abstract base class (PR #162172)

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 9 14:35:47 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:

Ok, I've added the name. This does cause tools like pyright to report it as an unused parameter as a 'hint' diagnostic but there's lots of those and I can easily filter them out

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


More information about the llvm-commits mailing list