ΒΆvoid clang_indexLoc_getFileLocation(
    CXIdxLoc loc,
    CXIdxClientFile* indexFile,
    CXFile* file,
    unsigned int* line,
    unsigned int* column,
    unsigned int* offset)

Description

Retrieve the CXIdxFile, file, line, column, and offset represented by the given CXIdxLoc. If the location refers into a macro expansion, retrieves the location of the macro expansion and if it refers into a macro argument retrieves the location of the argument.

Declared at: clang/include/clang-c/Index.h:6811

Parameters

CXIdxLoc loc
CXIdxClientFile* indexFile
CXFile* file
unsigned int* line
unsigned int* column
unsigned int* offset