Lines Matching full:sourcerange
84 SourceRange R1,
85 SourceRange R2) {
100 SourceLocation L, SourceRange R) {
144 static SourceRange getRawCursorExtent(CXCursor C);
145 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr);
148 RangeComparisonResult CursorVisitor::CompareRegionOfInterest(SourceRange R) {
182 SourceRange Range = getRawCursorExtent(Cursor);
206 static bool visitPreprocessedEntitiesInRange(SourceRange R,
281 SourceRange Range = RegionOfInterest;
357 SourceRange CurDeclRange = D->getSourceRange();
381 SourceRange MappedRange = AU->mapRangeToPreamble(RegionOfInterest);
387 return visitPreprocessedEntitiesInRange(SourceRange(B, E),
398 SourceRange(B, AU->getEndOfPreambleFileID()),
402 SourceRange(AU->getStartOfMainFileID(), E),
406 return visitPreprocessedEntitiesInRange(SourceRange(B, E), PPRec, *this);
570 SourceRange Range = getFullCursorExtent(Cursor, AU->getSourceManager());
1221 SourceRange Range) {
2248 SourceRange Range = getRawCursorExtent(C);
2484 typedef SmallVector<SourceRange, 4> RefNamePieces;
2487 const SourceRange &QLoc,
2504 Pieces.push_back(SourceRange(TemplateArgs->LAngleLoc,
2515 SourceRange R(Pieces.front().getBegin(), Pieces.back().getEnd());
3412 SourceRange(Locs.front(), Locs.back()));
4230 static SourceRange getRawCursorExtent(CXCursor C) {
4286 SourceRange Range = cxcursor::getCursorMacroExpansion(C).getSourceRange();
4292 SourceRange Range = cxcursor::getCursorMacroDefinition(C)->getSourceRange();
4298 SourceRange Range = cxcursor::getCursorInclusionDirective(C)->getSourceRange();
4307 return SourceRange(Start, End);
4313 return SourceRange();
4315 SourceRange R = D->getSourceRange();
4327 return SourceRange();
4332 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr) {
4336 return SourceRange();
4338 SourceRange R = D->getSourceRange();
4374 SourceRange R = getRawCursorExtent(C);
4833 SourceRange R = Pieces[PieceIndex];
4925 static void getTokens(ASTUnit *CXXUnit, SourceRange Range,
5017 SourceRange R = cxloc::translateCXSourceRange(Range);
5062 SourceRange CursorRange;
5081 void annotateAndAdvanceTokens(CXCursor, RangeComparisonResult, SourceRange);
5083 SourceRange);
5087 CXTranslationUnit TU, SourceRange RegionOfInterest)
5138 SourceRange range) {
5160 SourceRange range) {
5196 SourceRange cursorRange = getRawCursorExtent(cursor);
5363 SourceRange cursorRange = Info.CursorRange;
5419 SourceRange macroRange = getCursorMacroExpansion(cursor).getSourceRange();
5493 SourceRange RegionOfInterest,
5583 MakePreprocessingDirectiveCursor(SourceRange(BeginLoc, EndLoc), TU);
5608 SourceRange RegionOfInterest;
6541 SourceRange DefRange(MI->getReplacementToken(0).getLocation(),