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()
137 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) { in getPreprocessedEntitiesInRangeSlow() argument
138 assert(Range.isValid()); in getPreprocessedEntitiesInRangeSlow()
139 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow()
142 Local = findLocalPreprocessedEntitiesInRange(Range); in getPreprocessedEntitiesInRangeSlow()
145 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin())) in getPreprocessedEntitiesInRangeSlow()
149 Loaded = ExternalSource->findPreprocessedEntitiesInRange(Range); in getPreprocessedEntitiesInRangeSlow()
168 SourceRange Range) const { in findLocalPreprocessedEntitiesInRange()
169 if (Range.isInvalid()) in findLocalPreprocessedEntitiesInRange()
171 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange()
173 unsigned Begin = findBeginLocalPreprocessedEntity(Range.getBegin()); in findLocalPreprocessedEntitiesInRange()
174 unsigned End = findEndLocalPreprocessedEntity(Range.getEnd()); in findLocalPreprocessedEntitiesInRange()
203 SourceRange Range = PPE->getSourceRange(); in getLoc() local
204 return (Range.*getRangeLoc)(); in getLoc()
389 SourceRange Range) { in addMacroExpansion() argument
396 MacroExpansion(Id.getIdentifierInfo(), Range)); in addMacroExpansion()
398 addPreprocessedEntity(new (*this) MacroExpansion(Def, Range)); in addMacroExpansion()
436 SourceRange Range) { in Defined() argument
443 void PreprocessingRecord::SourceRangeSkipped(SourceRange Range, in SourceRangeSkipped() argument
445 assert(Range.isValid()); in SourceRangeSkipped()
446 SkippedRanges.emplace_back(Range.getBegin(), EndifLoc); in SourceRangeSkipped()
451 SourceRange Range, in MacroExpands() argument
453 addMacroExpansion(Id, MD.getMacroInfo(), Range); in MacroExpands()