Home
last modified time | relevance | path

Searched refs:SkippedRanges (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp325 unsigned Result = SkippedRanges.size(); in allocateSkippedRanges()
326 SkippedRanges.resize(SkippedRanges.size() + NumRanges); in allocateSkippedRanges()
334 for (unsigned Index = 0; Index != SkippedRanges.size(); ++Index) { in ensureSkippedRangesLoaded()
335 if (SkippedRanges[Index].isInvalid()) in ensureSkippedRangesLoaded()
336 SkippedRanges[Index] = ExternalSource->ReadSkippedRange(Index); in ensureSkippedRangesLoaded()
443 SkippedRanges.emplace_back(Range.getBegin(), EndifLoc); in SourceRangeSkipped()
517 + llvm::capacity_in_bytes(SkippedRanges); in getTotalMemory()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h71 std::vector<SkippedRange> SkippedRanges; variable
82 std::vector<SkippedRange> &getSkippedRanges() { return SkippedRanges; } in getSkippedRanges()
H A DCoverageMappingGen.cpp79 if (EmptyLineCommentCoverage && !SkippedRanges.empty() && in AddSkippedRange()
80 PrevTokLoc == SkippedRanges.back().PrevTokLoc && in AddSkippedRange()
81 SourceMgr.isWrittenInSameFile(SkippedRanges.back().Range.getEnd(), in AddSkippedRange()
83 SkippedRanges.back().Range.setEnd(Range.getEnd()); in AddSkippedRange()
85 SkippedRanges.push_back({Range, RangeKind, PrevTokLoc}); in AddSkippedRange()
102 if (!SkippedRanges.empty() && SkippedRanges.back().NextTokLoc.isInvalid()) in updateNextTokLoc()
103 SkippedRanges.back().NextTokLoc = Loc; in updateNextTokLoc()
477 auto SkippedRanges = CVM.getSourceInfo().getSkippedRanges(); in gatherSkippedRegions() local
478 for (auto &I : SkippedRanges) { in gatherSkippedRegions()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DInlineInfo.cpp76 static bool skip(DataExtractor &Data, uint64_t &Offset, bool SkippedRanges) { in skip() argument
77 if (!SkippedRanges) { in skip()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h326 std::vector<SourceRange> SkippedRanges; variable
519 return SkippedRanges; in getSkippedRanges()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2914 ArrayRef<SourceRange> SkippedRanges = PPRec.getSkippedRanges(); in WritePreprocessorDetail() local
2915 if (SkippedRanges.size() > 0) { in WritePreprocessorDetail()
2917 SerializedSkippedRanges.reserve(SkippedRanges.size()); in WritePreprocessorDetail()
2918 for (auto const& Range : SkippedRanges) in WritePreprocessorDetail()