c/clang/symg:remove chinese

This commit is contained in:
luoliwoshang
2024-07-29 10:57:04 +08:00
parent 0d3180271b
commit 1e3aef5b94

View File

@@ -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 := ""