Lines Matching refs:PP
59 std::shared_ptr<Preprocessor> PP;
65 std::shared_ptr<Preprocessor> PP,
69 PP(std::move(PP)),
72 assert(this->PP != nullptr);
79 IndexCtx->getDataConsumer().setPreprocessor(PP);
80 PP->addPPCallbacks(std::make_unique<IndexPPCallbacks>(IndexCtx));
128 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP,
130 return std::make_unique<IndexASTConsumer>(DataConsumer, Opts, PP,
136 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) {
145 return createIndexingASTConsumer(std::move(DataConsumer), Opts, std::move(PP),
165 static void indexPreprocessorMacros(const Preprocessor &PP,
167 for (const auto &M : PP.macros())
188 void index::indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP,
198 indexPreprocessorMacros(PP, DataConsumer);