Lines Matching refs:MakeCXCursor
362 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) in visitDeclsFromFileRegion()
382 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) in visitDeclsFromFileRegion()
586 return Visit(MakeCXCursor(Body, StmtParent, TU, RegionOfInterest)); in VisitBlockDecl()
635 CXCursor Cursor = MakeCXCursor(D, TU, RegionOfInterest); in handleDeclForVisitation()
678 return Visit(MakeCXCursor(D->getTemplatedDecl(), TU, RegionOfInterest)); in VisitTypeAliasTemplateDecl()
760 return Visit(MakeCXCursor(Init, StmtParent, TU, RegionOfInterest)); in VisitEnumConstantDecl()
859 if (Visit(MakeCXCursor(Initializer, ND, TU, RegionOfInterest))) in VisitFunctionDecl()
864 if (Visit(MakeCXCursor(ND->getBody(), StmtParent, TU, RegionOfInterest))) in VisitFunctionDecl()
876 return Visit(MakeCXCursor(BitWidth, StmtParent, TU, RegionOfInterest)); in VisitFieldDecl()
886 return Visit(MakeCXCursor(Init, StmtParent, TU, RegionOfInterest)); in VisitVarDecl()
897 return Visit(MakeCXCursor(DefArg, StmtParent, TU, RegionOfInterest)); in VisitNonTypeTemplateParmDecl()
949 if (Visit(MakeCXCursor(P, TU, RegionOfInterest))) in VisitObjCMethodDecl()
954 Visit(MakeCXCursor(ND->getBody(), StmtParent, TU, RegionOfInterest)); in VisitObjCMethodDecl()
1028 CXCursor Cursor = MakeCXCursor(*I, TU, RegionOfInterest); in VisitObjCContainerDecl()
1097 if (Visit(MakeCXCursor(MD, TU, RegionOfInterest))) in VisitObjCPropertyDecl()
1102 if (Visit(MakeCXCursor(MD, TU, RegionOfInterest))) in VisitObjCPropertyDecl()
1114 if (Visit(MakeCXCursor(typeParam, TU, RegionOfInterest))) in VisitObjCTypeParamList()
1244 if (Visit(MakeCXCursor(D->getAssertExpr(), StmtParent, TU, RegionOfInterest))) in VisitStaticAssertDecl()
1246 if (Visit(MakeCXCursor(D->getMessage(), StmtParent, TU, RegionOfInterest))) in VisitStaticAssertDecl()
1374 if (Visit(MakeCXCursor(*P, TU, RegionOfInterest))) in VisitTemplateParameters()
1431 return Visit(MakeCXCursor(E, StmtParent, TU, RegionOfInterest)); in VisitTemplateArgumentLoc()
1436 return Visit(MakeCXCursor(E, StmtParent, TU, RegionOfInterest)); in VisitTemplateArgumentLoc()
1441 return Visit(MakeCXCursor(E, StmtParent, TU, RegionOfInterest)); in VisitTemplateArgumentLoc()
1524 return Visit(MakeCXCursor(TL.getDecl(), TU, RegionOfInterest)); in VisitTagTypeLoc()
1594 if (Visit(MakeCXCursor(D, TU, RegionOfInterest))) in VisitFunctionTypeLoc()
1605 return Visit(MakeCXCursor(Size, StmtParent, TU, RegionOfInterest)); in VisitArrayTypeLoc()
1634 return Visit(MakeCXCursor(TL.getUnderlyingExpr(), StmtParent, TU)); in VisitTypeOfExprTypeLoc()
1683 return Visit(MakeCXCursor(E, StmtParent, TU)); in VisitDecltypeTypeLoc()
1739 if (Visit(MakeCXCursor(I, D, TU))) in VisitAttributes()
2759 EnqueueVisitor(WL, MakeCXCursor(S, StmtParent, TU,RegionOfInterest)).Visit(S); in EnqueueWorkList()
2786 if (Visit(MakeCXCursor(D, TU, RegionOfInterest, in RunVisitorWorkList()
2842 CXCursor Cursor = MakeCXCursor(S, StmtParent, TU, RegionOfInterest); in RunVisitorWorkList()
2957 if (Visit(MakeCXCursor(Proto.getParam(I), TU))) in RunVisitorWorkList()
3878 return MakeCXCursor(CXXUnit->getASTContext().getTranslationUnitDecl(), TU); in clang_getTranslationUnitCursor()
5477 return MakeCXCursor(Property, tu); in clang_getCursorReferenced()
5486 CXCursor declCursor = MakeCXCursor(D, tu); in clang_getCursorReferenced()
5503 return MakeCXCursor(labelS, getCursorDecl(C), tu); in clang_getCursorReferenced()
5519 return MakeCXCursor(getCursorObjCSuperClassRef(C).first, tu); in clang_getCursorReferenced()
5524 return MakeCXCursor(Def, tu); in clang_getCursorReferenced()
5526 return MakeCXCursor(Prot, tu); in clang_getCursorReferenced()
5532 return MakeCXCursor(Def, tu); in clang_getCursorReferenced()
5534 return MakeCXCursor(Class, tu); in clang_getCursorReferenced()
5538 return MakeCXCursor(getCursorTypeRef(C).first, tu ); in clang_getCursorReferenced()
5541 return MakeCXCursor(getCursorTemplateRef(C).first, tu ); in clang_getCursorReferenced()
5544 return MakeCXCursor(getCursorNamespaceRef(C).first, tu ); in clang_getCursorReferenced()
5547 return MakeCXCursor(getCursorMemberRef(C).first, tu ); in clang_getCursorReferenced()
5558 return MakeCXCursor(getCursorLabelRef(C).first, in clang_getCursorReferenced()
5567 return MakeCXCursor(getCursorVariableRef(C).first, tu); in clang_getCursorReferenced()
5649 return MakeCXCursor(cast<UsingDirectiveDecl>(D)->getNominatedNamespace(), in clang_getCursorDefinition()
5653 return MakeCXCursor(cast<NamespaceAliasDecl>(D)->getNamespace(), TU); in clang_getCursorDefinition()
5661 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
5671 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
5680 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
5687 return MakeCXCursor(Def->getDescribedFunctionTemplate(), TU); in clang_getCursorDefinition()
5694 return MakeCXCursor(cast<CXXRecordDecl>(Def)->getDescribedClassTemplate(), in clang_getCursorDefinition()
5702 return MakeCXCursor(cast<VarDecl>(Def)->getDescribedVarTemplate(), TU); in clang_getCursorDefinition()
5713 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition()
5730 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
5738 return MakeCXCursor(Impl, TU); in clang_getCursorDefinition()
5743 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
5755 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
5757 return MakeCXCursor(Impl, TU); in clang_getCursorDefinition()
5770 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
5776 return clang_getCursorDefinition(MakeCXCursor(Friend, TU)); in clang_getCursorDefinition()
5781 return clang_getCursorDefinition(MakeCXCursor(Friend, TU)); in clang_getCursorDefinition()
5802 return MakeCXCursor(CatD, getCursorTU(C)); in clang_getCanonicalCursor()
5806 return MakeCXCursor(IFD, getCursorTU(C)); in clang_getCanonicalCursor()
5808 return MakeCXCursor(D->getCanonicalDecl(), getCursorTU(C)); in clang_getCanonicalCursor()
5847 return MakeCXCursor(E->decls_begin()[index], TU); in clang_getOverloadedDecl()
5851 return MakeCXCursor(S->begin()[index], TU); in clang_getOverloadedDecl()
5858 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()
7171 return MakeCXCursor(maybeGetTemplateCursor(cast<Decl>(DC)), in clang_getCursorSemanticParent()
7178 return MakeCXCursor(D, getCursorTU(cursor)); in clang_getCursorSemanticParent()
7191 return MakeCXCursor(maybeGetTemplateCursor(cast<Decl>(DC)), in clang_getCursorLexicalParent()