chore:remove folder

This commit is contained in:
luoliwoshang
2024-10-08 11:17:33 +08:00
parent ca0492d997
commit 60aa74257f
14 changed files with 250 additions and 293 deletions

View File

@@ -75,6 +75,11 @@ func CreateTranslationUnit(config *Config) (*clang.Index, *clang.TranslationUnit
return index, unit, nil
}
func GetLocation(loc clang.SourceLocation) (file clang.File, line c.Uint, column c.Uint, offset c.Uint) {
loc.SpellingLocation(&file, &line, &column, &offset)
return
}
// Traverse up the semantic parents
func BuildScopingParts(cursor clang.Cursor) []string {
var parts []string