clang_indexTranslationUnit

\brief Index the given translation unit via callbacks implemented through #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 #clang_indexSourceFile.

\returns If there is a failure from which there is no recovery, returns non-zero, otherwise returns 0.

extern (C)
int
clang_indexTranslationUnit

Meta