Home
last modified time | relevance | path

Searched refs:StmtParent (Results 1 – 2 of 2) sorted by relevance

/external/clang/tools/libclang/
DCursorVisitor.h73 const Decl *StmtParent; variable
123 const Decl *&StmtParent; variable
127 SetParentRAII(CXCursor &Parent, const Decl *&StmtParent, in SetParentRAII() argument
129 : Parent(Parent), StmtParent(StmtParent), OldParent(Parent) in SetParentRAII()
133 StmtParent = getCursorDecl(Parent); in SetParentRAII()
139 StmtParent = getCursorDecl(Parent); in ~SetParentRAII()
164 StmtParent = nullptr; in TU()
DCIndex.cpp490 SetParentRAII SetParent(Parent, StmtParent, Cursor); in VisitChildren()
586 return Visit(MakeCXCursor(Body, StmtParent, TU, RegionOfInterest)); in VisitBlockDecl()
760 return Visit(MakeCXCursor(Init, StmtParent, TU, RegionOfInterest)); in VisitEnumConstantDecl()
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()
954 Visit(MakeCXCursor(ND->getBody(), StmtParent, TU, RegionOfInterest)); in VisitObjCMethodDecl()
1244 if (Visit(MakeCXCursor(D->getAssertExpr(), StmtParent, TU, RegionOfInterest))) in VisitStaticAssertDecl()
1246 if (Visit(MakeCXCursor(D->getMessage(), StmtParent, TU, RegionOfInterest))) in VisitStaticAssertDecl()
[all …]