Home
last modified time | relevance | path

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

/external/clang/lib/Index/
DIndexingAction.cpp74 std::shared_ptr<IndexDataConsumer> DataConsumer; member in __anon92a712d60111::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 …]
DIndexingContext.h39 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()
DIndexingContext.cpp97 return DataConsumer.handleModuleOccurence(ImportD, Roles, FID, Offset); in importedModule()
332 return DataConsumer.handleDeclOccurence(D, Roles, FinalRelations, FID, Offset, in handleDeclOccurrence()
/external/clang/tools/libclang/
DIndexing.cpp227 CXIndexDataConsumer &DataConsumer; member in __anon6eaf67560211::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 __anon6eaf67560211::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 …]
DCXIndexDataConsumer.cpp26 CXIndexDataConsumer &DataConsumer; member in __anon499910790111::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/
DIndexingAction.h37 createIndexingAction(std::shared_ptr<IndexDataConsumer> DataConsumer,
42 std::shared_ptr<IndexDataConsumer> DataConsumer,
/external/clang/tools/c-index-test/
Dcore_main.cpp149 auto DataConsumer = std::make_shared<PrintIndexDataConsumer>(outs()); in printSourceSymbols() local
152 IndexAction = createIndexingAction(DataConsumer, IndexOpts, in printSourceSymbols()