Lines Matching refs:Range
30 SourceRange Range) in InclusionDirective() argument
31 : PreprocessingDirective(InclusionDirectiveKind, Range), in InclusionDirective()
49 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { in getPreprocessedEntitiesInRange() argument
50 if (Range.isInvalid()) in getPreprocessedEntitiesInRange()
53 if (CachedRangeQuery.Range == Range) { in getPreprocessedEntitiesInRange()
58 std::pair<int, int> Res = getPreprocessedEntitiesInRangeSlow(Range); in getPreprocessedEntitiesInRange()
60 CachedRangeQuery.Range = Range; in getPreprocessedEntitiesInRange()
127 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) { in getPreprocessedEntitiesInRangeSlow() argument
128 assert(Range.isValid()); in getPreprocessedEntitiesInRangeSlow()
129 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow()
132 Local = findLocalPreprocessedEntitiesInRange(Range); in getPreprocessedEntitiesInRangeSlow()
135 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin())) in getPreprocessedEntitiesInRangeSlow()
139 Loaded = ExternalSource->findPreprocessedEntitiesInRange(Range); in getPreprocessedEntitiesInRangeSlow()
158 SourceRange Range) const { in findLocalPreprocessedEntitiesInRange()
159 if (Range.isInvalid()) in findLocalPreprocessedEntitiesInRange()
161 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange()
163 unsigned Begin = findBeginLocalPreprocessedEntity(Range.getBegin()); in findLocalPreprocessedEntitiesInRange()
164 unsigned End = findEndLocalPreprocessedEntity(Range.getEnd()); in findLocalPreprocessedEntitiesInRange()
193 SourceRange Range = PPE->getSourceRange(); in getLoc() local
194 return (Range.*getRangeLoc)(); in getLoc()
371 SourceRange Range) { in addMacroExpansion() argument
378 MacroExpansion(Id.getIdentifierInfo(), Range)); in addMacroExpansion()
380 addPreprocessedEntity(new (*this) MacroExpansion(Def, Range)); in addMacroExpansion()
401 SourceRange Range) { in Defined() argument
408 void PreprocessingRecord::SourceRangeSkipped(SourceRange Range) { in SourceRangeSkipped() argument
409 SkippedRanges.push_back(Range); in SourceRangeSkipped()
414 SourceRange Range, in MacroExpands() argument
416 addMacroExpansion(Id, MD.getMacroInfo(), Range); in MacroExpands()