Home
last modified time | relevance | path

Searched refs:DataConsumer (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexingAction.cpp117 : DataConsumer(std::move(dataConsumer)), in IndexActionBase()
131 DataConsumer->finish(); in finish()
223 DataConsumer.handleMacroOccurence( in indexPreprocessorMacros()
231 IndexingContext IndexCtx(Opts, DataConsumer); in indexASTUnit()
239 DataConsumer.finish(); in indexASTUnit()
246 IndexingContext IndexCtx(Opts, DataConsumer); in indexTopLevelDecls()
249 DataConsumer.initialize(Ctx); in indexTopLevelDecls()
252 indexPreprocessorMacros(PP, DataConsumer); in indexTopLevelDecls()
256 DataConsumer.finish(); in indexTopLevelDecls()
271 DataConsumer.initialize(Ctx); in indexModuleFile()
[all …]
H A DIndexingContext.h41 IndexDataConsumer &DataConsumer; variable
45 IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer) in IndexingContext() argument
46 : IndexOpts(IndexOpts), DataConsumer(DataConsumer) {} in IndexingContext()
49 IndexDataConsumer &getDataConsumer() { return DataConsumer; } in getDataConsumer()
H A DIndexingContext.cpp86 IndexDataConsumer &DataConsumer) { in reportModuleReferences() argument
90 DataConsumer); in reportModuleReferences()
91 DataConsumer.handleModuleOccurence(ImportD, Mod, in reportModuleReferences()
130 DataConsumer); in importedModule()
137 return DataConsumer.handleModuleOccurence(ImportD, Mod, Roles, Loc); in importedModule()
435 return DataConsumer.handleDeclOccurence(D, Roles, FinalRelations, Loc, Node); in handleDeclOccurrence()
442 DataConsumer.handleMacroOccurence(&Name, &MI, Roles, Loc); in handleMacroDefined()
449 DataConsumer.handleMacroOccurence(&Name, &MI, Roles, Loc); in handleMacroUndefined()
456 DataConsumer.handleMacroOccurence(&Name, &MI, Roles, Loc); in handleMacroReference()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDataCollection.h45 void addDataToConsumer(T &DataConsumer, llvm::StringRef Str) { in addDataToConsumer() argument
46 DataConsumer.update(Str); in addDataToConsumer()
49 template <class T> void addDataToConsumer(T &DataConsumer, const QualType &QT) { in addDataToConsumer() argument
50 addDataToConsumer(DataConsumer, QT.getAsString()); in addDataToConsumer()
58 addDataToConsumer(T &DataConsumer, Type Data) { in addDataToConsumer() argument
59 DataConsumer.update(StringRef(reinterpret_cast<char *>(&Data), sizeof(Data))); in addDataToConsumer()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Index/
H A DIndexingAction.h53 createIndexingAction(std::shared_ptr<IndexDataConsumer> DataConsumer,
58 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
64 IndexDataConsumer &DataConsumer, IndexingOptions Opts);
73 IndexDataConsumer &DataConsumer, IndexingOptions Opts);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCloneDetection.cpp186 T &DataConsumer; member in __anonbe11aa0c0111::CloneTypeIIStmtDataCollector
189 data_collection::addDataToConsumer(DataConsumer, Data); in addData()
194 T &DataConsumer) in CloneTypeIIStmtDataCollector() argument
195 : Context(Context), DataConsumer(DataConsumer) { in CloneTypeIIStmtDataCollector()