Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Lex/
DPreprocessingRecord.cpp328 unsigned Result = SkippedRanges.size(); in allocateSkippedRanges()
329 SkippedRanges.resize(SkippedRanges.size() + NumRanges); in allocateSkippedRanges()
337 for (unsigned Index = 0; Index != SkippedRanges.size(); ++Index) { in ensureSkippedRangesLoaded()
338 if (SkippedRanges[Index].isInvalid()) in ensureSkippedRangesLoaded()
339 SkippedRanges[Index] = ExternalSource->ReadSkippedRange(Index); in ensureSkippedRangesLoaded()
434 SkippedRanges.emplace_back(Range.getBegin(), EndifLoc); in SourceRangeSkipped()
515 + llvm::capacity_in_bytes(SkippedRanges); in getTotalMemory()
DPPDirectives.cpp390 const PreprocessorSkippedRangeMapping &SkippedRanges = *It->getSecond(); in getSkippedRangeForExcludedConditionalBlock() local
392 auto MappingIt = SkippedRanges.find(HashFileOffset.second); in getSkippedRangeForExcludedConditionalBlock()
393 if (MappingIt == SkippedRanges.end()) in getSkippedRangeForExcludedConditionalBlock()
/external/clang/lib/CodeGen/
DCoverageMappingGen.h39 std::vector<SourceRange> SkippedRanges; variable
41 ArrayRef<SourceRange> getSkippedRanges() const { return SkippedRanges; } in getSkippedRanges()
DCoverageMappingGen.cpp32 SkippedRanges.push_back(Range); in SourceRangeSkipped()
225 auto SkippedRanges = CVM.getSourceInfo().getSkippedRanges(); in gatherSkippedRegions() local
226 for (const auto &I : SkippedRanges) { in gatherSkippedRegions()
/external/llvm-project/clang-tools-extra/clangd/
DCollectMacros.h34 std::vector<Range> SkippedRanges; member
86 Out.SkippedRanges.push_back(Range{Begin, End}); in SourceRangeSkipped()
DSemanticHighlighting.cpp229 auto SortedSkippedRanges = AST.getMacros().SkippedRanges; in collect()
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.h52 std::vector<SkippedRange> SkippedRanges; variable
63 std::vector<SkippedRange> &getSkippedRanges() { return SkippedRanges; } in getSkippedRanges()
DCoverageMappingGen.cpp64 if (EmptyLineCommentCoverage && !SkippedRanges.empty() && in AddSkippedRange()
65 PrevTokLoc == SkippedRanges.back().PrevTokLoc && in AddSkippedRange()
66 SourceMgr.isWrittenInSameFile(SkippedRanges.back().Range.getEnd(), in AddSkippedRange()
68 SkippedRanges.back().Range.setEnd(Range.getEnd()); in AddSkippedRange()
70 SkippedRanges.push_back({Range, PrevTokLoc}); in AddSkippedRange()
87 if (!SkippedRanges.empty() && SkippedRanges.back().NextTokLoc.isInvalid()) in updateNextTokLoc()
88 SkippedRanges.back().NextTokLoc = Loc; in updateNextTokLoc()
365 auto SkippedRanges = CVM.getSourceInfo().getSkippedRanges(); in gatherSkippedRegions() local
366 for (auto &I : SkippedRanges) { in gatherSkippedRegions()
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningFilesystem.cpp76 SkippedRanges; in createFileEntry() local
78 SkippedRanges); in createFileEntry()
80 for (const auto &Range : SkippedRanges) { in createFileEntry()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DInlineInfo.cpp76 static bool skip(DataExtractor &Data, uint64_t &Offset, bool SkippedRanges) { in skip() argument
77 if (!SkippedRanges) { in skip()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DInlineInfo.cpp76 static bool skip(DataExtractor &Data, uint64_t &Offset, bool SkippedRanges) { in skip() argument
77 if (!SkippedRanges) { in skip()
/external/clang/include/clang/Lex/
DPreprocessingRecord.h308 std::vector<SourceRange> SkippedRanges; variable
485 return SkippedRanges; in getSkippedRanges()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessingRecord.h326 std::vector<SourceRange> SkippedRanges; variable
519 return SkippedRanges; in getSkippedRanges()
/external/clang/lib/Lex/
DPreprocessingRecord.cpp409 SkippedRanges.push_back(Range); in SourceRangeSkipped()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp8792 const std::vector<SourceRange> &SkippedRanges = ppRec->getSkippedRanges(); in clang_getSkippedRanges() local
8794 for (std::vector<SourceRange>::const_iterator i = SkippedRanges.begin(), in clang_getSkippedRanges()
8795 ei = SkippedRanges.end(); in clang_getSkippedRanges()
8831 const std::vector<SourceRange> &SkippedRanges = ppRec->getSkippedRanges(); in clang_getAllSkippedRanges() local
8833 skipped->count = SkippedRanges.size(); in clang_getAllSkippedRanges()
8836 skipped->ranges[i] = cxloc::translateSourceRange(Ctx, SkippedRanges[i]); in clang_getAllSkippedRanges()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2454 ArrayRef<SourceRange> SkippedRanges = PPRec.getSkippedRanges(); in WritePreprocessorDetail() local
2455 if (SkippedRanges.size() > 0) { in WritePreprocessorDetail()
2457 SerializedSkippedRanges.reserve(SkippedRanges.size()); in WritePreprocessorDetail()
2458 for (auto const& Range : SkippedRanges) in WritePreprocessorDetail()
/external/clang/tools/libclang/
DCIndex.cpp7740 const std::vector<SourceRange> &SkippedRanges = ppRec->getSkippedRanges(); in clang_getSkippedRanges() local
7742 for (std::vector<SourceRange>::const_iterator i = SkippedRanges.begin(), ei = SkippedRanges.end(); in clang_getSkippedRanges()