clang_findReferencesInFile

\brief Find references of a declaration in a specific file.

\param cursor pointing to a declaration or a reference of one.

\param file to search for references.

\param visitor callback that will receive pairs of CXCursor/CXSourceRange for each reference found. The CXSourceRange will point inside the file; if the reference is inside a macro (and not a macro argument) the CXSourceRange will be invalid.

\returns one of the CXResult enumerators.

extern (C)
clang_findReferencesInFile

Meta