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

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

Parameters

std::shared_ptr<IndexDataConsumer> DataConsumer
const clang::index::IndexingOptions& Opts
std::shared_ptr<Preprocessor> PP
std::function<bool(const Decl*)> ShouldSkipFunctionBody