ΒΆCXSourceLocation clang_getLocationForOffset(
CXTranslationUnit tu,
CXFile file,
unsigned int offset)
CXSourceLocation clang_getLocationForOffset(
CXTranslationUnit tu,
CXFile file,
unsigned int offset)
Description
Retrieves the source location associated with a given character offset in a particular translation unit.
Declared at: clang/include/clang-c/Index.h:500
Parameters
- CXTranslationUnit tu
- CXFile file
- unsigned int offset