Searched refs:DataConsumer (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Index/ |
D | IndexingAction.cpp | 74 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anon7a4004370111::IndexActionBase 79 : DataConsumer(std::move(dataConsumer)), in IndexActionBase() 80 IndexCtx(Opts, *DataConsumer) {} in IndexActionBase() 87 DataConsumer->finish(); in finish() 93 IndexAction(std::shared_ptr<IndexDataConsumer> DataConsumer, in IndexAction() argument 95 : IndexActionBase(std::move(DataConsumer), Opts) {} in IndexAction() 114 std::shared_ptr<IndexDataConsumer> DataConsumer, in WrappingIndexAction() argument 117 IndexActionBase(std::move(DataConsumer), Opts) {} in WrappingIndexAction() 149 index::createIndexingAction(std::shared_ptr<IndexDataConsumer> DataConsumer, in createIndexingAction() argument 154 std::move(DataConsumer), in createIndexingAction() [all …]
|
D | IndexingContext.h | 39 IndexDataConsumer &DataConsumer; variable 43 IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer) in IndexingContext() argument 44 : IndexOpts(IndexOpts), DataConsumer(DataConsumer) {} in IndexingContext() 47 IndexDataConsumer &getDataConsumer() { return DataConsumer; } in getDataConsumer()
|
D | IndexingContext.cpp | 97 return DataConsumer.handleModuleOccurence(ImportD, Roles, FID, Offset); in importedModule() 332 return DataConsumer.handleDeclOccurence(D, Roles, FinalRelations, FID, Offset, in handleDeclOccurrence()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 227 CXIndexDataConsumer &DataConsumer; member in __anone24f30970211::IndexPPCallbacks 232 : PP(PP), DataConsumer(dataConsumer), IsMainFileEntered(false) { } in IndexPPCallbacks() 244 DataConsumer.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged() 255 DataConsumer.ppIncludedFile(HashLoc, FileName, File, isImport, IsAngled, in InclusionDirective() 282 CXIndexDataConsumer &DataConsumer; member in __anone24f30970211::IndexingConsumer 287 : DataConsumer(dataConsumer), SKCtrl(skCtrl) { } in IndexingConsumer() 292 DataConsumer.setASTContext(Context); in Initialize() 293 DataConsumer.startedTranslationUnit(); in Initialize() 302 return !DataConsumer.shouldAbort(); in HandleTopLevelDecl() 311 const SourceManager &SM = DataConsumer.getASTContext().getSourceManager(); in shouldSkipFunctionBody() [all …]
|
D | CXIndexDataConsumer.cpp | 26 CXIndexDataConsumer &DataConsumer; member in __anon5df3ef1a0111::IndexingDeclVisitor 33 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor() 36 DataConsumer.handleFunction(D); in VisitFunctionDecl() 41 DataConsumer.handleVar(D); in VisitVarDecl() 46 DataConsumer.handleField(D); in VisitFieldDecl() 55 DataConsumer.handleEnumerator(D); in VisitEnumConstantDecl() 60 DataConsumer.handleTypedefName(D); in VisitTypedefNameDecl() 65 DataConsumer.handleTagDecl(D); in VisitTagDecl() 70 DataConsumer.handleObjCInterface(D); in VisitObjCInterfaceDecl() 75 DataConsumer.handleObjCProtocol(D); in VisitObjCProtocolDecl() [all …]
|
/external/clang/include/clang/Index/ |
D | IndexingAction.h | 37 createIndexingAction(std::shared_ptr<IndexDataConsumer> DataConsumer, 42 std::shared_ptr<IndexDataConsumer> DataConsumer,
|
/external/clang/tools/c-index-test/ |
D | core_main.cpp | 149 auto DataConsumer = std::make_shared<PrintIndexDataConsumer>(outs()); in printSourceSymbols() local 152 IndexAction = createIndexingAction(DataConsumer, IndexOpts, in printSourceSymbols()
|