// Retrieves the source location associated with a given file/line/column in a particular translation unit. func (tu TranslationUnit) Location(file File, line uint32, column uint32) SourceLocation { return SourceLocation{C.clang_getLocation(tu.c, file.c, C.uint(line), C.uint(column))} }
// Location returns the source location associated with a given file/line/column // in a particular translation unit. func (tu TranslationUnit) Location(f File, line, column uint) SourceLocation { loc := C.clang_getLocation(tu.c, f.c, C.uint(line), C.uint(column)) return SourceLocation{loc} }