[Lldb-commits] [lldb] [lldb/script] Add scripting extension template generator (PR #209647)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 17 10:58:28 PDT 2026


================
@@ -1587,6 +1587,35 @@ let Command = "scripting extension list" in {
         Desc<"Output the scripted extension list in json format.">;
 }
 
+let Command = "scripting extension generate" in {
+  def scripting_extension_generate_all_methods
+      : Option<"all", "a">,
+        Desc<"Generate all the extension methods, not only the abstract ones.">;
+  def scripting_extension_generate_language
+      : Option<"language", "l">,
+        EnumArg<"ScriptLang">,
+        Desc<"Specify the scripting "
+             " language. If none is specified the default scripting language "
----------------
JDevlieghere wrote:

Double space because line break. Also reflow.
```suggestion
        Desc<"Specify the scripting "
             "language. If none is specified the default scripting language "
```

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


More information about the lldb-commits mailing list