ΒΆstd::unique_ptr<ASTConsumer>
createIndexingASTConsumer(
    std::shared_ptr<IndexDataConsumer>
        DataConsumer,
    const clang::index::IndexingOptions& Opts,
    std::shared_ptr<Preprocessor> PP)

Description

Creates an ASTConsumer that indexes all symbols (macros and AST decls).

Declared at: clang/include/clang/Index/IndexingAction.h:37

Parameters

std::shared_ptr<IndexDataConsumer> DataConsumer
const clang::index::IndexingOptions& Opts
std::shared_ptr<Preprocessor> PP