Lines Matching refs:RegionOfInterest
170 return RangeCompare(AU->getSourceManager(), R, RegionOfInterest); in CompareRegionOfInterest()
202 if (RegionOfInterest.isValid() && !CheckedRegionOfInterest) { in Visit()
247 if (RegionOfInterest.isInvalid()) in visitFileRegion()
254 Begin = SM.getDecomposedLoc(SM.getFileLoc(RegionOfInterest.getBegin())), in visitFileRegion()
255 End = SM.getDecomposedLoc(SM.getFileLoc(RegionOfInterest.getEnd())); in visitFileRegion()
301 SourceRange Range = RegionOfInterest; in visitDeclsFromFileRegion()
400 if (RegionOfInterest.isValid()) { in visitPreprocessedEntitiesInRegion()
401 SourceRange MappedRange = AU->mapRangeToPreamble(RegionOfInterest); in visitPreprocessedEntitiesInRegion()
522 RegionOfInterest.isInvalid()) { in VisitChildren()
565 SourceLocation BeginLoc = RegionOfInterest.getBegin(); in VisitChildren()
567 BeginLoc == RegionOfInterest.getEnd()) { in VisitChildren()
586 return Visit(MakeCXCursor(Body, StmtParent, TU, RegionOfInterest)); in VisitBlockDecl()
592 if (RegionOfInterest.isValid()) { in shouldVisitCursor()
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()
2759 EnqueueVisitor(WL, MakeCXCursor(S, StmtParent, TU,RegionOfInterest)).Visit(S); in EnqueueWorkList()
2763 if (RegionOfInterest.isValid()) { in IsInRegionOfInterest()
2786 if (Visit(MakeCXCursor(D, TU, RegionOfInterest, in RunVisitorWorkList()
2842 CXCursor Cursor = MakeCXCursor(S, StmtParent, TU, RegionOfInterest); in RunVisitorWorkList()
6206 CXTranslationUnit TU, SourceRange RegionOfInterest) in AnnotateTokensWorker() argument
6213 RegionOfInterest, in AnnotateTokensWorker()
6606 SourceRange RegionOfInterest, in annotatePreprocessorTokens() argument
6615 = SourceMgr.getDecomposedSpellingLoc(RegionOfInterest.getBegin()); in annotatePreprocessorTokens()
6617 = SourceMgr.getDecomposedSpellingLoc(RegionOfInterest.getEnd()); in annotatePreprocessorTokens()
6717 SourceRange RegionOfInterest; in clang_annotateTokensImpl() local
6718 RegionOfInterest.setBegin( in clang_annotateTokensImpl()
6720 RegionOfInterest.setEnd( in clang_annotateTokensImpl()
6726 annotatePreprocessorTokens(TU, RegionOfInterest, Cursors, Tokens, NumTokens); in clang_annotateTokensImpl()
6733 SM.getMacroArgExpandedLocation(RegionOfInterest.getBegin()); in clang_annotateTokensImpl()
6735 RegionOfInterest.setBegin(SM.getExpansionLoc(Loc)); in clang_annotateTokensImpl()
6746 RegionOfInterest); in clang_annotateTokensImpl()
6752 AnnotateTokensWorker W(Tokens, Cursors, NumTokens, TU, RegionOfInterest); in clang_annotateTokensImpl()