ΒΆCXCursor clang_getOverloadedDecl(
    CXCursor cursor,
    unsigned int index)

Description

Retrieve a cursor for one of the overloaded declarations referenced by a \c CXCursor_OverloadedDeclRef cursor.

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

Parameters

CXCursor cursor
The cursor whose overloaded declarations are being queried.
unsigned int index
The zero-based index into the set of overloaded declarations in the cursor.

Returns

A cursor representing the declaration referenced by the given\c cursor at the specified \c index. If the cursor does not have an associated set of overloaded declarations, or if the index is out of bounds, returns \c clang_getNullCursor();