ΒΆvoid clang_getInstantiationLocation(
    CXSourceLocation location,
    CXFile* file,
    unsigned int* line,
    unsigned int* column,
    unsigned int* offset)

Description

Legacy API to retrieve the file, line, column, and offset represented by the given source location. This interface has been replaced by the newer interface #clang_getExpansionLocation(). See that interface's documentation for details.

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

Parameters

CXSourceLocation location
CXFile* file
unsigned int* line
unsigned int* column
unsigned int* offset