| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 102 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anon7f009d8c0111::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 __anon7f009d8c0111::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 D | IndexingContext.h | 40 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 D | IndexingContext.cpp | 96 IndexDataConsumer &DataConsumer) { in reportModuleReferences() argument 100 DataConsumer); in reportModuleReferences() 101 DataConsumer.handleModuleOccurrence( in reportModuleReferences() 139 DataConsumer); in importedModule() 146 return DataConsumer.handleModuleOccurrence(ImportD, Mod, Roles, Loc); in importedModule() 450 return DataConsumer.handleDeclOccurrence(D, Roles, FinalRelations, Loc, Node); in handleDeclOccurrence() 459 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroDefined() 468 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroUndefined() 477 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroReference()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | DataCollection.h | 44 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()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | Indexing.cpp | 241 CXIndexDataConsumer &DataConsumer; member in __anon3007734c0211::IndexPPCallbacks 246 : PP(PP), DataConsumer(dataConsumer), IsMainFileEntered(false) { } in IndexPPCallbacks() 258 DataConsumer.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged() 270 DataConsumer.ppIncludedFile(HashLoc, FileName, File, isImport, IsAngled, in InclusionDirective() 299 CXIndexDataConsumer &DataConsumer; member in __anon3007734c0211::IndexingConsumer 304 : DataConsumer(dataConsumer) {} in IndexingConsumer() 307 DataConsumer.setASTContext(Context); in Initialize() 308 DataConsumer.startedTranslationUnit(); in Initialize() 312 return !DataConsumer.shouldAbort(); in HandleTopLevelDecl() 336 std::shared_ptr<CXIndexDataConsumer> DataConsumer; member in __anon3007734c0211::IndexingFrontendAction [all …]
|
| H A D | CXIndexDataConsumer.cpp | 25 CXIndexDataConsumer &DataConsumer; member in __anon02cff6af0111::IndexingDeclVisitor 32 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor() 35 DataConsumer.handleFunction(D); in VisitFunctionDecl() 40 DataConsumer.handleVar(D); in VisitVarDecl() 45 DataConsumer.handleField(D); in VisitFieldDecl() 54 DataConsumer.handleEnumerator(D); in VisitEnumConstantDecl() 59 DataConsumer.handleTypedefName(D); in VisitTypedefNameDecl() 64 DataConsumer.handleTagDecl(D); in VisitTagDecl() 69 DataConsumer.handleObjCInterface(D); in VisitObjCInterfaceDecl() 74 DataConsumer.handleObjCProtocol(D); in VisitObjCProtocolDecl() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Index/ |
| H A D | IndexingAction.h | 37 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);
|
| /openbsd-src/gnu/llvm/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 232 auto DataConsumer = std::make_shared<PrintIndexDataConsumer>(OS); in printSourceSymbols() local 238 createIndexingAction(DataConsumer, IndexOpts); in printSourceSymbols() 251 indexModuleFile(Mod, *Reader, *DataConsumer, IndexOpts); in printSourceSymbols() 286 PrintIndexDataConsumer DataConsumer(outs()); in printSourceSymbolsFromModule() local 288 indexASTUnit(*AU, DataConsumer, IndexOpts); in printSourceSymbolsFromModule()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | CloneDetection.cpp | 184 T &DataConsumer; member in __anonbb641ad40111::CloneTypeIIStmtDataCollector 187 data_collection::addDataToConsumer(DataConsumer, Data); in addData() 192 T &DataConsumer) in CloneTypeIIStmtDataCollector() argument 193 : Context(Context), DataConsumer(DataConsumer) { in CloneTypeIIStmtDataCollector()
|