Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp102 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anonb20dd8150111::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 __anonb20dd8150111::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 …]
/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.cpp184 T &DataConsumer; member in __anon4f6a34bd0111::CloneTypeIIStmtDataCollector
187 data_collection::addDataToConsumer(DataConsumer, Data); in addData()
192 T &DataConsumer) in CloneTypeIIStmtDataCollector() argument
193 : Context(Context), DataConsumer(DataConsumer) { in CloneTypeIIStmtDataCollector()