ΒΆCXSourceLocation clang_getCursorLocation(CXCursor)

Description

Retrieve the physical location of the source constructor referenced by the given cursor. The location of a declaration is typically the location of the name of that declaration, where the name of that declaration would occur if it is unnamed, or some keyword that introduces that particular declaration. The location of a reference is where that reference occurs within the source code.

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

Parameters

CXCursor