\brief Index the given translation unit via callbacks implemented through \see IndexerCallbacks.
The order of callback invocations is not guaranteed to be the same as when indexing a source file. The high level order will be:
-Preprocessor callbacks invocations -Declaration/reference callbacks invocations -Diagnostic callback invocations
The parameters are the same as \see clang_indexSourceFile.
\returns If there is a failure from which the there is no recovery, returns non-zero, otherwise returns 0.
See Implementation
\brief Index the given translation unit via callbacks implemented through \see IndexerCallbacks.
The order of callback invocations is not guaranteed to be the same as when indexing a source file. The high level order will be:
-Preprocessor callbacks invocations -Declaration/reference callbacks invocations -Diagnostic callback invocations
The parameters are the same as \see clang_indexSourceFile.
\returns If there is a failure from which the there is no recovery, returns non-zero, otherwise returns 0.