Searched refs:LineOffsetMapping (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang/unittests/Basic/ |
D | LineOffsetMappingTest.cpp | 19 LineOffsetMapping Mapping; in TEST() 30 LineOffsetMapping Mapping(Offsets, Alloc); in TEST() 46 LineOffsetMapping Mapping1(Offsets1, Alloc); in TEST() 47 LineOffsetMapping Mapping2(Offsets2, Alloc); in TEST() 62 auto Mapping = LineOffsetMapping::get(MemoryBufferRef(Source, ""), Alloc); in TEST() 73 auto Mapping = LineOffsetMapping::get(MemoryBufferRef(Source, ""), Alloc); in TEST()
|
/external/llvm-project/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 43 .SourceLineCache = SrcMgr::LineOffsetMapping(); in getToken()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 98 class LineOffsetMapping { 113 static LineOffsetMapping get(llvm::MemoryBufferRef Buffer, 116 LineOffsetMapping() = default; 117 LineOffsetMapping(ArrayRef<unsigned> LineOffsets, 159 mutable LineOffsetMapping SourceLineCache;
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 1252 LineOffsetMapping LineOffsetMapping::get(llvm::MemoryBufferRef Buffer, in get() 1277 return LineOffsetMapping(LineOffsets, Alloc); in get() 1280 LineOffsetMapping::LineOffsetMapping(ArrayRef<unsigned> LineOffsets, in LineOffsetMapping() function in LineOffsetMapping 1325 LineOffsetMapping::get(*Buffer, ContentCacheAlloc); in getLineNumber() 1673 LineOffsetMapping::get(*Buffer, ContentCacheAlloc); in translateLineCol()
|