ΒΆCXSourceLocation clang_getDiagnosticLocation(
    CXDiagnostic)

Description

Retrieve the source location of the given diagnostic. This location is where Clang would print the caret ('^') when displaying the diagnostic on the command line.

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

Parameters

CXDiagnostic