[cfe-users] clang_equalCursors()

Lucas Soltic lucas.soltic at orange.fr
Tue Dec 24 03:40:53 PST 2013


Hello,

I would like to get a clarification about clang_equalCursors(CXCursor, CXCursor).

The documentation states the following (http://clang.llvm.org/doxygen/group__CINDEX__CURSOR__MANIP.html#ga98df58f09878710b983b6f3f60f0cba3):
CINDEX_LINKAGE unsigned clang_equalCursors	(CXCursor, CXCursor)
Determine whether two cursors are equivalent.

Ok but.. actually when is it equal? when clang_equalCursors() returns 0, or 1, or something elseā€¦ ?

Regards,
Lucas SOLTIC



More information about the cfe-users mailing list