Home
last modified time | relevance | path

Searched refs:SourceLineCache (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Basic/
DSourceManager.cpp1145 LastLineNoContentCache->SourceLineCache != nullptr && in getColumnNumber()
1147 unsigned *SourceLineCache = LastLineNoContentCache->SourceLineCache; in getColumnNumber() local
1148 unsigned LineStart = SourceLineCache[LastLineNoResult - 1]; in getColumnNumber()
1149 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber()
1275 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size()); in ComputeLineNumbers()
1276 std::copy(LineOffsets.begin(), LineOffsets.end(), FI->SourceLineCache); in ComputeLineNumbers()
1308 if (!Content->SourceLineCache) { in getLineNumber()
1320 unsigned *SourceLineCache = Content->SourceLineCache; in getLineNumber() local
1321 unsigned *SourceLineCacheStart = SourceLineCache; in getLineNumber()
1322 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()
[all …]
/external/clang/lib/Rewrite/
DRewriter.cpp251 unsigned lineOffs = Content->SourceLineCache[lineNo]; in InsertText()
357 unsigned parentLineOffs = Content->SourceLineCache[parentLineNo]; in IncreaseIndentation()
358 unsigned startLineOffs = Content->SourceLineCache[startLineNo]; in IncreaseIndentation()
383 unsigned offs = Content->SourceLineCache[lineNo]; in IncreaseIndentation()
/external/clang/include/clang/Basic/
DSourceManager.h120 unsigned *SourceLineCache; variable
147 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in ContentCache()
156 : Buffer(nullptr, false), SourceLineCache(nullptr), in ContentCache()
162 RHS.SourceLineCache == nullptr && in ContentCache()