llcppsigfetch:reuse clangutil

This commit is contained in:
luoliwoshang
2024-09-24 14:43:33 +08:00
parent 7b498065b5
commit 7aca31992b
4 changed files with 11 additions and 71 deletions

View File

@@ -27,6 +27,7 @@ import (
"github.com/goplus/llgo/c"
"github.com/goplus/llgo/c/cjson"
"github.com/goplus/llgo/chore/_xtool/llcppsigfetch/parse"
"github.com/goplus/llgo/chore/_xtool/llcppsymg/clangutils"
"github.com/goplus/llgo/chore/_xtool/llcppsymg/config"
)
@@ -116,7 +117,7 @@ func runExtract() {
os.Exit(1)
}
cfg := &parse.Config{
cfg := &clangutils.Config{
File: os.Args[2],
Args: []string{},
IsCpp: true,