| /netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 83 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anon76f6f7400111::IndexASTConsumer 89 IndexASTConsumer(std::shared_ptr<IndexDataConsumer> DataConsumer, in IndexASTConsumer() argument 93 : DataConsumer(std::move(DataConsumer)), in IndexASTConsumer() 94 IndexCtx(new IndexingContext(Opts, *this->DataConsumer)), in IndexASTConsumer() 97 assert(this->DataConsumer != nullptr); in IndexASTConsumer() 122 DataConsumer->finish(); in HandleTranslationUnit() 131 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anon76f6f7400111::IndexAction 135 IndexAction(std::shared_ptr<IndexDataConsumer> DataConsumer, in IndexAction() argument 137 : DataConsumer(std::move(DataConsumer)), Opts(Opts) { in IndexAction() 138 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 | 97 IndexDataConsumer &DataConsumer) { in reportModuleReferences() argument 101 DataConsumer); in reportModuleReferences() 102 DataConsumer.handleModuleOccurrence( in reportModuleReferences() 140 DataConsumer); in importedModule() 147 return DataConsumer.handleModuleOccurrence(ImportD, Mod, Roles, Loc); in importedModule() 454 return DataConsumer.handleDeclOccurrence(D, Roles, FinalRelations, Loc, Node); in handleDeclOccurrence() 463 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroDefined() 472 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroUndefined() 481 DataConsumer.handleMacroOccurrence(&Name, &MI, Roles, Loc); in handleMacroReference()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | Indexing.cpp | 241 CXIndexDataConsumer &DataConsumer; member in __anon08ff66800211::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 __anon08ff66800211::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 __anon08ff66800211::IndexingFrontendAction [all …]
|
| H A D | CXIndexDataConsumer.cpp | 25 CXIndexDataConsumer &DataConsumer; member in __anone67901630111::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 …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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);
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 228 auto DataConsumer = std::make_shared<PrintIndexDataConsumer>(OS); in printSourceSymbols() local 234 createIndexingAction(DataConsumer, IndexOpts); in printSourceSymbols() 247 indexModuleFile(Mod, *Reader, *DataConsumer, IndexOpts); in printSourceSymbols() 282 PrintIndexDataConsumer DataConsumer(outs()); in printSourceSymbolsFromModule() local 284 indexASTUnit(*AU, DataConsumer, IndexOpts); in printSourceSymbolsFromModule()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | CloneDetection.cpp | 185 T &DataConsumer; member in __anon68ca88080111::CloneTypeIIStmtDataCollector 188 data_collection::addDataToConsumer(DataConsumer, Data); in addData() 193 T &DataConsumer) in CloneTypeIIStmtDataCollector() argument 194 : Context(Context), DataConsumer(DataConsumer) { in CloneTypeIIStmtDataCollector()
|