From f48b37a218cf9e5250067a3c27d3775ec381e922 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Thu, 12 Jun 2025 18:49:17 +0800 Subject: [PATCH] chore(xgo):gop_autogen => xgo_autogen --- cmd/llgo/{gop_autogen.go => xgo_autogen.go} | 52 ++++++++++----------- 1 file changed, 26 insertions(+), 26 deletions(-) rename cmd/llgo/{gop_autogen.go => xgo_autogen.go} (81%) diff --git a/cmd/llgo/gop_autogen.go b/cmd/llgo/xgo_autogen.go similarity index 81% rename from cmd/llgo/gop_autogen.go rename to cmd/llgo/xgo_autogen.go index 7c31549b..3833800f 100644 --- a/cmd/llgo/gop_autogen.go +++ b/cmd/llgo/xgo_autogen.go @@ -1,4 +1,4 @@ -// Code generated by gop (Go+); DO NOT EDIT. +// Code generated by xgo (XGo); DO NOT EDIT. package main @@ -58,19 +58,19 @@ func (this *App) MainEntry() { this.Short(`llgo is a Go compiler based on LLVM in order to better integrate Go with the C ecosystem including Python.`) } func (this *App) Main() { - _gop_obj0 := &Cmd_build{App: this} - _gop_obj1 := &Cmd_clean{App: this} - _gop_obj2 := &Cmd_cmptest{App: this} - _gop_obj3 := &Cmd_get{App: this} - _gop_obj4 := &Cmd_install{App: this} - _gop_obj5 := &Cmd_run{App: this} - _gop_obj6 := &Cmd_test{App: this} - _gop_obj7 := &Cmd_version{App: this} - xcmd.Gopt_App_Main(this, _gop_obj0, _gop_obj1, _gop_obj2, _gop_obj3, _gop_obj4, _gop_obj5, _gop_obj6, _gop_obj7) + _xgo_obj0 := &Cmd_build{App: this} + _xgo_obj1 := &Cmd_clean{App: this} + _xgo_obj2 := &Cmd_cmptest{App: this} + _xgo_obj3 := &Cmd_get{App: this} + _xgo_obj4 := &Cmd_install{App: this} + _xgo_obj5 := &Cmd_run{App: this} + _xgo_obj6 := &Cmd_test{App: this} + _xgo_obj7 := &Cmd_version{App: this} + xcmd.Gopt_App_Main(this, _xgo_obj0, _xgo_obj1, _xgo_obj2, _xgo_obj3, _xgo_obj4, _xgo_obj5, _xgo_obj6, _xgo_obj7) } //line cmd/llgo/build_cmd.gox:20 -func (this *Cmd_build) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_build) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/build_cmd.gox:20:1 this.Use("build [flags] [packages]") //line cmd/llgo/build_cmd.gox:22:1 @@ -87,8 +87,8 @@ func (this *Cmd_build) Classfname() string { return "build" } //line cmd/llgo/clean_cmd.gox:20 -func (this *Cmd_clean) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_clean) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/clean_cmd.gox:20:1 this.Use("clean [flags] [packages]") //line cmd/llgo/clean_cmd.gox:22:1 @@ -105,8 +105,8 @@ func (this *Cmd_clean) Classfname() string { return "clean" } //line cmd/llgo/cmptest_cmd.gox:20 -func (this *Cmd_cmptest) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_cmptest) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/cmptest_cmd.gox:20:1 this.Use("cmptest [flags] package [arguments...]") //line cmd/llgo/cmptest_cmd.gox:22:1 @@ -123,8 +123,8 @@ func (this *Cmd_cmptest) Classfname() string { return "cmptest" } //line cmd/llgo/get_cmd.gox:16 -func (this *Cmd_get) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_get) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/get_cmd.gox:16:1 this.Use("get [flags] [packages]") //line cmd/llgo/get_cmd.gox:18:1 @@ -139,8 +139,8 @@ func (this *Cmd_get) Classfname() string { return "get" } //line cmd/llgo/install_cmd.gox:20 -func (this *Cmd_install) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_install) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/install_cmd.gox:20:1 this.Use("install [flags] [packages]") //line cmd/llgo/install_cmd.gox:22:1 @@ -157,8 +157,8 @@ func (this *Cmd_install) Classfname() string { return "install" } //line cmd/llgo/run_cmd.gox:20 -func (this *Cmd_run) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_run) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/run_cmd.gox:20:1 this.Use("run [flags] package [arguments...]") //line cmd/llgo/run_cmd.gox:22:1 @@ -175,8 +175,8 @@ func (this *Cmd_run) Classfname() string { return "run" } //line cmd/llgo/test_cmd.gox:20 -func (this *Cmd_test) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_test) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/test_cmd.gox:20:1 this.Use("test [flags] package [arguments...]") //line cmd/llgo/test_cmd.gox:22:1 @@ -193,8 +193,8 @@ func (this *Cmd_test) Classfname() string { return "test" } //line cmd/llgo/version_cmd.gox:22 -func (this *Cmd_version) Main(_gop_arg0 string) { - this.Command.Main(_gop_arg0) +func (this *Cmd_version) Main(_xgo_arg0 string) { + this.Command.Main(_xgo_arg0) //line cmd/llgo/version_cmd.gox:22:1 this.Use("version") //line cmd/llgo/version_cmd.gox:24:1