ΒΆint clang_Location_isFromMainFile(
    CXSourceLocation location)

Description

Returns non-zero if the given source location is in the main file of the corresponding translation unit.

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

Parameters

CXSourceLocation location