IndexerCallbacks

\brief A group of callbacks used by #clang_indexSourceFile and #clang_indexTranslationUnit.

Members

Variables

abortQuery
int function(CXClientData client_data, void* reserved) abortQuery;

\brief Called periodically to check whether indexing should be aborted. Should return 0 to continue, and non-zero to abort.

diagnostic
void function(CXClientData client_data, CXDiagnosticSet, void* reserved) diagnostic;

\brief Called at the end of indexing; passes the complete diagnostic set.

enteredMainFile
CXIdxClientFile function(CXClientData client_data, CXFile mainFile, void* reserved) enteredMainFile;
Undocumented in source.
importedASTFile
CXIdxClientASTFile function(CXClientData client_data, const(CXIdxImportedASTFileInfo)*) importedASTFile;

\brief Called when a AST file (PCH or module) gets imported.

indexDeclaration
void function(CXClientData client_data, const(CXIdxDeclInfo)*) indexDeclaration;
Undocumented in source.
indexEntityReference
void function(CXClientData client_data, const(CXIdxEntityRefInfo)*) indexEntityReference;

\brief Called to index a reference of an entity.

ppIncludedFile
CXIdxClientFile function(CXClientData client_data, const(CXIdxIncludedFileInfo)*) ppIncludedFile;

\brief Called when a file gets \#included/\#imported.

startedTranslationUnit
CXIdxClientContainer function(CXClientData client_data, void* reserved) startedTranslationUnit;

\brief Called at the beginning of indexing a translation unit.

Meta