[Lldb-commits] [lldb] [lldb] Add lldb.summary and lldb.synthetic decorators (PR #195351)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon May 4 22:17:57 PDT 2026


================
@@ -606,3 +606,47 @@ def is_numeric_type(basic_type):
     return (False,False)
 
 %}
+
+%pythoncode %{
+
+def _type_spec(type_name, regex):
+    type_spec = f"'{type_name}'"
----------------
JDevlieghere wrote:

What happens if `type_name` has a single quote in it?

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


More information about the lldb-commits mailing list