clang_indexSourceFile

\brief Index the given source file and the translation unit corresponding to that file via callbacks implemented through \see IndexerCallbacks.

\param client_data pointer data supplied by the client, which will be passed to the invoked callbacks.

\param index_callbacks Pointer to indexing callbacks that the client implements.

\param index_callbacks_size Size of \see IndexerCallbacks structure that gets passed in index_callbacks.

\param index_options A bitmask of options that affects how indexing is performed. This should be a bitwise OR of the CXIndexOpt_XXX flags.

\param out_TU out pointer to store a CXTranslationUnit that can be reused after indexing is finished. Set to NULL if you do not require it.

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

The rest of the parameters are the same as \see clang_parseTranslationUnit.

Meta