Lines Matching refs:PP
104 std::shared_ptr<Preprocessor> PP; member in __anoneb214d450111::IndexASTConsumer
110 std::shared_ptr<Preprocessor> PP, in IndexASTConsumer() argument
114 PP(std::move(PP)), in IndexASTConsumer()
117 assert(this->PP != nullptr); in IndexASTConsumer()
124 IndexCtx->getDataConsumer().setPreprocessor(PP); in Initialize()
125 PP->addPPCallbacks(std::make_unique<IndexPPCallbacks>(IndexCtx)); in Initialize()
173 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP, in createIndexingASTConsumer() argument
175 return std::make_unique<IndexASTConsumer>(DataConsumer, Opts, PP, in createIndexingASTConsumer()
181 const IndexingOptions &Opts, std::shared_ptr<Preprocessor> PP) { in createIndexingASTConsumer() argument
190 return createIndexingASTConsumer(std::move(DataConsumer), Opts, std::move(PP), in createIndexingASTConsumer()
232 static void indexPreprocessorMacros(Preprocessor &PP, in indexPreprocessorMacros() argument
234 for (const auto &M : PP.macros()) { in indexPreprocessorMacros()
242 static void indexPreprocessorModuleMacros(Preprocessor &PP, in indexPreprocessorModuleMacros() argument
245 for (const auto &M : PP.macros()) { in indexPreprocessorModuleMacros()
247 for (auto *MM : PP.getLeafModuleMacros(M.first)) { in indexPreprocessorModuleMacros()
273 void index::indexTopLevelDecls(ASTContext &Ctx, Preprocessor &PP, in indexTopLevelDecls() argument
283 indexPreprocessorMacros(PP, DataConsumer); in indexTopLevelDecls()