From 1e3aef5b94cbb520ae480f68a97fd3affe283c70 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Mon, 29 Jul 2024 10:57:04 +0800 Subject: [PATCH] c/clang/symg:remove chinese --- chore/_xtool/llcppsymg/llcppsymg.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/chore/_xtool/llcppsymg/llcppsymg.go b/chore/_xtool/llcppsymg/llcppsymg.go index 03614a9b..f0907a50 100644 --- a/chore/_xtool/llcppsymg/llcppsymg.go +++ b/chore/_xtool/llcppsymg/llcppsymg.go @@ -122,7 +122,6 @@ func generateDylibPath(lib string) (string, error) { return "", fmt.Errorf("failed to parse pkg-config output: %s", output) } - // 构造dylib路径 dylibPath := filepath.Join(libPath, "lib"+libName+".dylib") return dylibPath, nil } @@ -231,7 +230,6 @@ func generateCPPName(astInfo common.ASTInformation) string { } func generateMangle(astInfo common.ASTInformation, count int, prefixes []string) string { - // 去除前缀 astInfo.Class = removePrefix(astInfo.Class, prefixes) astInfo.Name = removePrefix(astInfo.Name, prefixes) res := ""