Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp102 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anonefce3bca0111::IndexASTConsumer
108 IndexASTConsumer(std::shared_ptr<IndexDataConsumer> DataConsumer, in IndexASTConsumer() argument
112 : DataConsumer(std::move(DataConsumer)), in IndexASTConsumer()
113 IndexCtx(new IndexingContext(Opts, *this->DataConsumer)), in IndexASTConsumer()
116 assert(this->DataConsumer != nullptr); in IndexASTConsumer()
141 DataConsumer->finish(); in HandleTranslationUnit()
150 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anonefce3bca0111::IndexAction
154 IndexAction(std::shared_ptr<IndexDataConsumer> DataConsumer, in IndexAction() argument
156 : DataConsumer(std::move(DataConsumer)), Opts(Opts) { in IndexAction()
157 assert(this->DataConsumer != nullptr); in IndexAction()
[all …]
H A DIndexingContext.h40 IndexDataConsumer &DataConsumer; variable
44 IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer) in IndexingContext() argument
45 : IndexOpts(IndexOpts), DataConsumer(DataConsumer) {} in IndexingContext()
48 IndexDataConsumer &getDataConsumer() { return DataConsumer; } in getDataConsumer()
H A DIndexingContext.cpp95 IndexDataConsumer &DataConsumer) { in reportModuleReferences() argument
99 DataConsumer); in reportModuleReferences()
100 DataConsumer.handleModuleOccurrence( in reportModuleReferences()
138 DataConsumer); in importedModule()
145 return DataConsumer.handleModuleOccurrence(ImportD, Mod, Roles, Loc); in importedModule()
449 return DataConsumer.handleDeclOccurrence(D, Roles, FinalRelations, Loc, Node); in handleDeclOccurrence()
458 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroDefined()
467 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroUndefined()
476 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroReference()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDataCollection.h44 void addDataToConsumer(T &DataConsumer, llvm::StringRef Str) { in addDataToConsumer() argument
45 DataConsumer.update(Str); in addDataToConsumer()
48 template <class T> void addDataToConsumer(T &DataConsumer, const QualType &QT) { in addDataToConsumer() argument
49 addDataToConsumer(DataConsumer, QT.getAsString()); in addDataToConsumer()
56 addDataToConsumer(T &DataConsumer, Type Data) { in addDataToConsumer() argument
57 DataConsumer.update(StringRef(reinterpret_cast<char *>(&Data), sizeof(Data))); in addDataToConsumer()
/src/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h37 createIndexingASTConsumer(std::shared_ptr<IndexDataConsumer> DataConsumer,
42 std::shared_ptr<IndexDataConsumer> DataConsumer,
50 createIndexingAction(std::shared_ptr<IndexDataConsumer> DataConsumer,
54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
60 IndexDataConsumer &DataConsumer, IndexingOptions Opts);
69 IndexDataConsumer &DataConsumer, IndexingOptions Opts);
/src/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp184 T &DataConsumer; member in __anonebd6f8520111::CloneTypeIIStmtDataCollector
187 data_collection::addDataToConsumer(DataConsumer, Data); in addData()
192 T &DataConsumer) in CloneTypeIIStmtDataCollector() argument
193 : Context(Context), DataConsumer(DataConsumer) { in CloneTypeIIStmtDataCollector()