c/clang/symg:remove chinese
This commit is contained in:
@@ -122,7 +122,6 @@ func generateDylibPath(lib string) (string, error) {
|
|||||||
return "", fmt.Errorf("failed to parse pkg-config output: %s", output)
|
return "", fmt.Errorf("failed to parse pkg-config output: %s", output)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 构造dylib路径
|
|
||||||
dylibPath := filepath.Join(libPath, "lib"+libName+".dylib")
|
dylibPath := filepath.Join(libPath, "lib"+libName+".dylib")
|
||||||
return dylibPath, nil
|
return dylibPath, nil
|
||||||
}
|
}
|
||||||
@@ -231,7 +230,6 @@ func generateCPPName(astInfo common.ASTInformation) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func generateMangle(astInfo common.ASTInformation, count int, prefixes []string) string {
|
func generateMangle(astInfo common.ASTInformation, count int, prefixes []string) string {
|
||||||
// 去除前缀
|
|
||||||
astInfo.Class = removePrefix(astInfo.Class, prefixes)
|
astInfo.Class = removePrefix(astInfo.Class, prefixes)
|
||||||
astInfo.Name = removePrefix(astInfo.Name, prefixes)
|
astInfo.Name = removePrefix(astInfo.Name, prefixes)
|
||||||
res := ""
|
res := ""
|
||||||
|
|||||||
Reference in New Issue
Block a user