Lines Matching refs:IndexCtx

46   IndexingContext &IndexCtx;
51 : PP(PP), IndexCtx(indexCtx), IsMainFileEntered(false) { }
63 IndexCtx.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID()));
77 IndexCtx.ppIncludedFile(HashLoc, FileName, File, isImport, IsAngled);
106 IndexingContext &IndexCtx;
110 : IndexCtx(indexCtx) { }
115 IndexCtx.setASTContext(Context);
116 IndexCtx.startedTranslationUnit();
123 IndexCtx.indexDeclGroupRef(DG);
124 return !IndexCtx.shouldAbort();
131 IndexCtx.addTUDeclInObjCContainer(D);
140 if (!IndexCtx.shouldIndexImplicitTemplateInsts())
143 if (IndexCtx.isTemplateImplicitInstantiation(D))
144 IndexCtx.indexDecl(D);
148 if (!IndexCtx.shouldIndexImplicitTemplateInsts())
151 IndexCtx.indexDecl(D);
179 IndexingContext IndexCtx;
187 : IndexCtx(clientData, indexCallbacks, indexOptions, cxTU),
192 IndexCtx.setASTContext(CI.getASTContext());
194 PP.addPPCallbacks(new IndexPPCallbacks(PP, IndexCtx));
195 IndexCtx.setPreprocessor(PP);
196 return new IndexingConsumer(IndexCtx);
200 indexDiagnostics(CXTU, IndexCtx);
204 if (IndexCtx.shouldIndexImplicitTemplateInsts())
524 OwningPtr<IndexingContext> IndexCtx;
525 IndexCtx.reset(new IndexingContext(client_data, CB, index_options, TU));
529 IndexCtxCleanup(IndexCtx.get());
532 IndexConsumer.reset(new IndexingConsumer(*IndexCtx));
545 IndexCtx->enteredMainFile(0);
547 IndexCtx->enteredMainFile(FileMgr.getFile(Unit->getOriginalSourceFileName()));
551 indexPreprocessingRecord(*Unit, *IndexCtx);
552 indexTranslationUnit(*Unit, *IndexCtx);
553 indexDiagnostics(TU, *IndexCtx);
670 return Container->IndexCtx->getClientContainerForDC(Container->DC);
678 Container->IndexCtx->addContainerInMap(Container->DC, client);
685 return Entity->IndexCtx->getClientEntity(Entity->Dcl);
693 Entity->IndexCtx->setClientEntity(Entity->Dcl, client);
804 IndexingContext &IndexCtx =
806 IndexCtx.translateLoc(Loc, indexFile, file, line, column, offset);
814 IndexingContext &IndexCtx =
816 return cxloc::translateSourceLocation(IndexCtx.getASTContext(), Loc);