Home
last modified time | relevance | path

Searched refs:LineOffsets (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/lldb/include/lldb/Core/
DSourceManager.h83 typedef std::vector<uint32_t> LineOffsets; typedef
84 LineOffsets m_offsets;
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1256 SmallVector<unsigned, 256> LineOffsets; in get() local
1259 LineOffsets.push_back(0); in get()
1267 LineOffsets.push_back(I + 1); in get()
1272 LineOffsets.push_back(I + 1); in get()
1277 return LineOffsetMapping(LineOffsets, Alloc); in get()
1280 LineOffsetMapping::LineOffsetMapping(ArrayRef<unsigned> LineOffsets, in LineOffsetMapping() argument
1282 : Storage(Alloc.Allocate<unsigned>(LineOffsets.size() + 1)) { in LineOffsetMapping()
1283 Storage[0] = LineOffsets.size(); in LineOffsetMapping()
1284 std::copy(LineOffsets.begin(), LineOffsets.end(), Storage + 1); in LineOffsetMapping()
/external/clang/lib/Basic/
DSourceManager.cpp1210 SmallVector<unsigned, 256> LineOffsets; in ComputeLineNumbers() local
1213 LineOffsets.push_back(0); in ComputeLineNumbers()
1269 LineOffsets.push_back(Offs); in ComputeLineNumbers()
1280 FI->NumLines = LineOffsets.size(); in ComputeLineNumbers()
1281 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size()); in ComputeLineNumbers()
1282 std::copy(LineOffsets.begin(), LineOffsets.end(), FI->SourceLineCache); in ComputeLineNumbers()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h117 LineOffsetMapping(ArrayRef<unsigned> LineOffsets,