Lines Matching refs:MakeCXCursor
376 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) in visitDeclsFromFileRegion()
397 if (Visit(MakeCXCursor(D, TU, Range), /*CheckedRegionOfInterest=*/true)) in visitDeclsFromFileRegion()
597 return Visit(MakeCXCursor(Body, StmtParent, TU, RegionOfInterest)); in VisitBlockDecl()
651 CXCursor Cursor = MakeCXCursor(D, TU, RegionOfInterest); in handleDeclForVisitation()
694 return Visit(MakeCXCursor(D->getTemplatedDecl(), TU, RegionOfInterest)); in VisitTypeAliasTemplateDecl()
764 if (Visit(MakeCXCursor(TC->getImmediatelyDeclaredConstraint(), StmtParent, in VisitTemplateTypeParmDecl()
779 return Visit(MakeCXCursor(Init, StmtParent, TU, RegionOfInterest)); in VisitEnumConstantDecl()
894 if (Visit(MakeCXCursor(Initializer, ND, TU, RegionOfInterest))) in VisitFunctionDecl()
899 if (Visit(MakeCXCursor(ND->getBody(), StmtParent, TU, RegionOfInterest))) in VisitFunctionDecl()
911 return Visit(MakeCXCursor(BitWidth, StmtParent, TU, RegionOfInterest)); in VisitFieldDecl()
914 return Visit(MakeCXCursor(Init, StmtParent, TU, RegionOfInterest)); in VisitFieldDecl()
924 return Visit(MakeCXCursor(Init, StmtParent, TU, RegionOfInterest)); in VisitVarDecl()
935 return Visit(MakeCXCursor(DefArg, StmtParent, TU, RegionOfInterest)); in VisitNonTypeTemplateParmDecl()
989 if (Visit(MakeCXCursor(P, TU, RegionOfInterest))) in VisitObjCMethodDecl()
994 Visit(MakeCXCursor(ND->getBody(), StmtParent, TU, RegionOfInterest)); in VisitObjCMethodDecl()
1069 CXCursor Cursor = MakeCXCursor(*I, TU, RegionOfInterest); in VisitObjCContainerDecl()
1139 if (Visit(MakeCXCursor(MD, TU, RegionOfInterest))) in VisitObjCPropertyDecl()
1144 if (Visit(MakeCXCursor(MD, TU, RegionOfInterest))) in VisitObjCPropertyDecl()
1156 if (Visit(MakeCXCursor(typeParam, TU, RegionOfInterest))) in VisitObjCTypeParamList()
1285 if (Visit(MakeCXCursor(D->getAssertExpr(), StmtParent, TU, RegionOfInterest))) in VisitStaticAssertDecl()
1288 if (Visit(MakeCXCursor(Message, StmtParent, TU, RegionOfInterest))) in VisitStaticAssertDecl()
1295 if (Visit(MakeCXCursor(FriendD, TU, RegionOfInterest))) in VisitFriendDecl()
1306 if (Visit(MakeCXCursor(B, TU, RegionOfInterest))) in VisitDecompositionDecl()
1434 if (Visit(MakeCXCursor(*P, TU, RegionOfInterest))) in VisitTemplateParameters()
1493 return Visit(MakeCXCursor(E, StmtParent, TU, RegionOfInterest)); in VisitTemplateArgumentLoc()
1498 return Visit(MakeCXCursor(E, StmtParent, TU, RegionOfInterest)); in VisitTemplateArgumentLoc()
1503 return Visit(MakeCXCursor(E, StmtParent, TU, RegionOfInterest)); in VisitTemplateArgumentLoc()
1591 return Visit(MakeCXCursor(TL.getDecl(), TU, RegionOfInterest)); in VisitTagTypeLoc()
1677 if (Visit(MakeCXCursor(D, TU, RegionOfInterest))) in VisitFunctionTypeLoc()
1688 return Visit(MakeCXCursor(Size, StmtParent, TU, RegionOfInterest)); in VisitArrayTypeLoc()
1726 return Visit(MakeCXCursor(TL.getUnderlyingExpr(), StmtParent, TU)); in VisitTypeOfExprTypeLoc()
1774 return Visit(MakeCXCursor(E, StmtParent, TU)); in VisitDecltypeTypeLoc()
1838 Visit(MakeCXCursor(I, D, TU))) in VisitAttributes()
3096 EnqueueVisitor(WL, MakeCXCursor(S, StmtParent, TU, RegionOfInterest)) in EnqueueWorkList()
3124 if (Visit(MakeCXCursor(D, TU, RegionOfInterest, in RunVisitorWorkList()
3179 CXCursor Cursor = MakeCXCursor(S, StmtParent, TU, RegionOfInterest); in RunVisitorWorkList()
3293 if (Visit(MakeCXCursor(Proto.getParam(I), TU))) in RunVisitorWorkList()
4276 return MakeCXCursor(CXXUnit->getASTContext().getTranslationUnitDecl(), TU); in clang_getTranslationUnitCursor()
6250 return MakeCXCursor(Property, tu); in clang_getCursorReferenced()
6259 CXCursor declCursor = MakeCXCursor(D, tu); in clang_getCursorReferenced()
6276 return MakeCXCursor(labelS, getCursorDecl(C), tu); in clang_getCursorReferenced()
6292 return MakeCXCursor(getCursorObjCSuperClassRef(C).first, tu); in clang_getCursorReferenced()
6297 return MakeCXCursor(Def, tu); in clang_getCursorReferenced()
6299 return MakeCXCursor(Prot, tu); in clang_getCursorReferenced()
6305 return MakeCXCursor(Def, tu); in clang_getCursorReferenced()
6307 return MakeCXCursor(Class, tu); in clang_getCursorReferenced()
6311 return MakeCXCursor(getCursorTypeRef(C).first, tu); in clang_getCursorReferenced()
6314 return MakeCXCursor(getCursorTemplateRef(C).first, tu); in clang_getCursorReferenced()
6317 return MakeCXCursor(getCursorNamespaceRef(C).first, tu); in clang_getCursorReferenced()
6320 return MakeCXCursor(getCursorMemberRef(C).first, tu); in clang_getCursorReferenced()
6330 return MakeCXCursor( in clang_getCursorReferenced()
6338 return MakeCXCursor(getCursorVariableRef(C).first, tu); in clang_getCursorReferenced()
6432 return MakeCXCursor(cast<UsingDirectiveDecl>(D)->getNominatedNamespace(), in clang_getCursorDefinition()
6436 return MakeCXCursor(cast<NamespaceAliasDecl>(D)->getNamespace(), TU); in clang_getCursorDefinition()
6444 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
6454 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
6464 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
6471 return MakeCXCursor(Def->getDescribedFunctionTemplate(), TU); in clang_getCursorDefinition()
6478 return MakeCXCursor(cast<CXXRecordDecl>(Def)->getDescribedClassTemplate(), in clang_getCursorDefinition()
6486 return MakeCXCursor(cast<VarDecl>(Def)->getDescribedVarTemplate(), TU); in clang_getCursorDefinition()
6497 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), TU)); in clang_getCursorDefinition()
6513 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
6521 return MakeCXCursor(Impl, TU); in clang_getCursorDefinition()
6527 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
6539 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
6541 return MakeCXCursor(Impl, TU); in clang_getCursorDefinition()
6554 return MakeCXCursor(Def, TU); in clang_getCursorDefinition()
6560 return clang_getCursorDefinition(MakeCXCursor(Friend, TU)); in clang_getCursorDefinition()
6565 return clang_getCursorDefinition(MakeCXCursor(Friend, TU)); in clang_getCursorDefinition()
6587 return MakeCXCursor(CatD, getCursorTU(C)); in clang_getCanonicalCursor()
6591 return MakeCXCursor(IFD, getCursorTU(C)); in clang_getCanonicalCursor()
6593 return MakeCXCursor(D->getCanonicalDecl(), getCursorTU(C)); in clang_getCanonicalCursor()
6632 return MakeCXCursor(E->decls_begin()[index], TU); in clang_getOverloadedDecl()
6636 return MakeCXCursor(S->begin()[index], TU); in clang_getOverloadedDecl()
6643 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()
7108 CXCursor cxChild = MakeCXCursor(DRE, parentDecl, TU); in DetermineChildActions()
7113 cxChild = MakeCXCursor(ICE, parentDecl, TU); in DetermineChildActions()
8159 return MakeCXCursor(maybeGetTemplateCursor(cast<Decl>(DC)), in clang_getCursorSemanticParent()
8166 return MakeCXCursor(D, getCursorTU(cursor)); in clang_getCursorSemanticParent()
8179 return MakeCXCursor(maybeGetTemplateCursor(cast<Decl>(DC)), in clang_getCursorLexicalParent()
8869 return cxcursor::MakeCXCursor(Init, VD, cxcursor::getCursorTU(cursor)); in clang_Cursor_getVarDeclInitializer()