llcppsymg:parse with language config

This commit is contained in:
luoliwoshang
2024-09-09 10:42:01 +08:00
parent 8913eeb1c1
commit 4688434c08
2 changed files with 5 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ func main() {
check(err)
filepaths := genHeaderFilePath(conf.CFlags, conf.Include)
headerInfos, err := parse.ParseHeaderFile(filepaths, conf.TrimPrefixes)
headerInfos, err := parse.ParseHeaderFile(filepaths, conf.TrimPrefixes, conf.Cplusplus)
check(err)
symbolInfo := getCommonSymbols(symbols, headerInfos, conf.TrimPrefixes)