• Home
  • Raw
  • Download

Lines Matching refs:DataConsumer

227   CXIndexDataConsumer &DataConsumer;  member in __anon6eaf67560211::IndexPPCallbacks
232 : PP(PP), DataConsumer(dataConsumer), IsMainFileEntered(false) { } in IndexPPCallbacks()
244 DataConsumer.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged()
255 DataConsumer.ppIncludedFile(HashLoc, FileName, File, isImport, IsAngled, in InclusionDirective()
282 CXIndexDataConsumer &DataConsumer; member in __anon6eaf67560211::IndexingConsumer
287 : DataConsumer(dataConsumer), SKCtrl(skCtrl) { } in IndexingConsumer()
292 DataConsumer.setASTContext(Context); in Initialize()
293 DataConsumer.startedTranslationUnit(); in Initialize()
302 return !DataConsumer.shouldAbort(); in HandleTopLevelDecl()
311 const SourceManager &SM = DataConsumer.getASTContext().getSourceManager(); in shouldSkipFunctionBody()
352 std::shared_ptr<CXIndexDataConsumer> DataConsumer; member in __anon6eaf67560211::IndexingFrontendAction
360 : DataConsumer(std::move(dataConsumer)), SKData(skData) {} in IndexingFrontendAction()
367 DataConsumer->importedPCH( in CreateASTConsumer()
371 DataConsumer->setASTContext(CI.getASTContext()); in CreateASTConsumer()
373 PP.addPPCallbacks(llvm::make_unique<IndexPPCallbacks>(PP, *DataConsumer)); in CreateASTConsumer()
374 DataConsumer->setPreprocessor(PP); in CreateASTConsumer()
382 return llvm::make_unique<IndexingConsumer>(*DataConsumer, SKCtrl.get()); in CreateASTConsumer()
386 if (DataConsumer->shouldIndexImplicitTemplateInsts()) in getTranslationUnitKind()
540 auto DataConsumer = in clang_indexSourceFile_Impl() local
543 auto InterAction = llvm::make_unique<IndexingFrontendAction>(DataConsumer, in clang_indexSourceFile_Impl()
546 IndexAction = createIndexingAction(DataConsumer, in clang_indexSourceFile_Impl()
657 auto DataConsumer = std::make_shared<CXIndexDataConsumer>(client_data, CB, in clang_indexTranslationUnit_Impl() local
667 DataConsumer->importedPCH(PCHFile); in clang_indexTranslationUnit_Impl()
672 DataConsumer->enteredMainFile(nullptr); in clang_indexTranslationUnit_Impl()
674 DataConsumer->enteredMainFile(FileMgr.getFile(Unit->getOriginalSourceFileName())); in clang_indexTranslationUnit_Impl()
676 DataConsumer->setASTContext(Unit->getASTContext()); in clang_indexTranslationUnit_Impl()
677 DataConsumer->startedTranslationUnit(); in clang_indexTranslationUnit_Impl()
679 indexPreprocessingRecord(*Unit, *DataConsumer); in clang_indexTranslationUnit_Impl()
680 indexASTUnit(*Unit, DataConsumer, getIndexingOptionsFromCXOptions(index_options)); in clang_indexTranslationUnit_Impl()
681 DataConsumer->indexDiagnostics(); in clang_indexTranslationUnit_Impl()
966 CXIndexDataConsumer &DataConsumer = in clang_indexLoc_getFileLocation() local
968 DataConsumer.translateLoc(Loc, indexFile, file, line, column, offset); in clang_indexLoc_getFileLocation()
976 CXIndexDataConsumer &DataConsumer = in clang_indexLoc_getCXSourceLocation() local
978 return cxloc::translateSourceLocation(DataConsumer.getASTContext(), Loc); in clang_indexLoc_getCXSourceLocation()