ΒΆunsigned int clang_equalLocations(
    CXSourceLocation loc1,
    CXSourceLocation loc2)

Description

Determine whether two source locations, which must refer into the same translation unit, refer to exactly the same point in the source code.

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

Parameters

CXSourceLocation loc1
CXSourceLocation loc2

Returns

non-zero if the source locations refer to the same location, zero if they refer to different locations.