[Lldb-commits] [lldb] [lldb/Commands] Add `scripting template list` command with auto discovery (PR #97273)

via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 2 17:12:59 PDT 2024


================
@@ -841,6 +841,12 @@ let Command = "scripting run" in {
     " language. If none is specific the default scripting language is used.">;
 }
 
+let Command = "scripting template list" in {
+  def scripting_template_list_language : Option<"language", "l">,
+    EnumArg<"ScriptLang">, Desc<"Specify the scripting "
+    " language. If none is specific the default scripting language is used.">;
----------------
jimingham wrote:

I don't think that's what is currently implemented, however, since you reset the language to None, and then error out if it is...

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


More information about the lldb-commits mailing list