Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp100 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anonb20dd8150111::IndexASTConsumer
106 IndexASTConsumer(std::shared_ptr<IndexDataConsumer> DataConsumer, in IndexASTConsumer() argument
110 : DataConsumer(std::move(DataConsumer)), in IndexASTConsumer()
111 IndexCtx(new IndexingContext(Opts, *this->DataConsumer)), in IndexASTConsumer()
114 assert(this->DataConsumer != nullptr); in IndexASTConsumer()
139 DataConsumer->finish(); in HandleTranslationUnit()
148 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anonb20dd8150111::IndexAction
152 IndexAction(std::shared_ptr<IndexDataConsumer> DataConsumer, in IndexAction() argument
154 : DataConsumer(std::move(DataConsumer)), Opts(Opts) { in IndexAction()
155 assert(this->DataConsumer != nullptr); in IndexAction()
[all …]
H A DIndexingContext.cpp30 IndexDataConsumer &DataConsumer) in IndexingContext() argument
31 : IndexOpts(IndexOpts), DataConsumer(DataConsumer) {} in IndexingContext()
107 IndexDataConsumer &DataConsumer) { in reportModuleReferences() argument
111 DataConsumer); in reportModuleReferences()
112 DataConsumer.handleModuleOccurrence( in reportModuleReferences()
150 DataConsumer); in importedModule()
157 return DataConsumer.handleModuleOccurrence(ImportD, Mod, Roles, Loc); in importedModule()
461 return DataConsumer.handleDeclOccurrence(D, Roles, FinalRelations, Loc, Node); in handleDeclOccurrence()
470 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroDefined()
479 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroUndefined()
[all …]
H A DIndexingContext.h41 IndexDataConsumer &DataConsumer; variable
46 IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer);
53 IndexDataConsumer &getDataConsumer() { return DataConsumer; } in getDataConsumer()
/freebsd/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()
/freebsd/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);
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp183 T &DataConsumer; member in __anon4f6a34bd0111::CloneTypeIIStmtDataCollector
186 data_collection::addDataToConsumer(DataConsumer, Data); in addData()
191 T &DataConsumer) in CloneTypeIIStmtDataCollector() argument
192 : Context(Context), DataConsumer(DataConsumer) { in CloneTypeIIStmtDataCollector()