Lines Matching refs:Range

46                                        SourceRange Range)  in InclusionDirective()  argument
47 : PreprocessingDirective(InclusionDirectiveKind, Range), InQuotes(InQuotes), in InclusionDirective()
60 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { in getPreprocessedEntitiesInRange() argument
61 if (Range.isInvalid()) in getPreprocessedEntitiesInRange()
64 if (CachedRangeQuery.Range == Range) { in getPreprocessedEntitiesInRange()
69 std::pair<int, int> Res = getPreprocessedEntitiesInRangeSlow(Range); in getPreprocessedEntitiesInRange()
71 CachedRangeQuery.Range = Range; in getPreprocessedEntitiesInRange()
138 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) { in getPreprocessedEntitiesInRangeSlow() argument
139 assert(Range.isValid()); in getPreprocessedEntitiesInRangeSlow()
140 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow()
143 Local = findLocalPreprocessedEntitiesInRange(Range); in getPreprocessedEntitiesInRangeSlow()
146 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin())) in getPreprocessedEntitiesInRangeSlow()
150 Loaded = ExternalSource->findPreprocessedEntitiesInRange(Range); in getPreprocessedEntitiesInRangeSlow()
169 SourceRange Range) const { in findLocalPreprocessedEntitiesInRange()
170 if (Range.isInvalid()) in findLocalPreprocessedEntitiesInRange()
172 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange()
174 unsigned Begin = findBeginLocalPreprocessedEntity(Range.getBegin()); in findLocalPreprocessedEntitiesInRange()
175 unsigned End = findEndLocalPreprocessedEntity(Range.getEnd()); in findLocalPreprocessedEntitiesInRange()
204 SourceRange Range = PPE->getSourceRange(); in getLoc() local
205 return (Range.*getRangeLoc)(); in getLoc()
395 SourceRange Range) { in addMacroExpansion() argument
402 MacroExpansion(Id.getIdentifierInfo(), Range)); in addMacroExpansion()
404 addPreprocessedEntity(new (*this) MacroExpansion(Def, Range)); in addMacroExpansion()
442 SourceRange Range) { in Defined() argument
449 void PreprocessingRecord::SourceRangeSkipped(SourceRange Range, in SourceRangeSkipped() argument
451 assert(Range.isValid()); in SourceRangeSkipped()
452 SkippedRanges.emplace_back(Range.getBegin(), EndifLoc); in SourceRangeSkipped()
457 SourceRange Range, in MacroExpands() argument
459 addMacroExpansion(Id, MD.getMacroInfo(), Range); in MacroExpands()