Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DSourceManager.cpp1054 LastLineNoContentCache->SourceLineCache != 0 && in getColumnNumber()
1056 unsigned *SourceLineCache = LastLineNoContentCache->SourceLineCache; in getColumnNumber() local
1057 unsigned LineStart = SourceLineCache[LastLineNoResult - 1]; in getColumnNumber()
1058 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber()
1185 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size()); in ComputeLineNumbers()
1186 std::copy(LineOffsets.begin(), LineOffsets.end(), FI->SourceLineCache); in ComputeLineNumbers()
1218 if (Content->SourceLineCache == 0) { in getLineNumber()
1230 unsigned *SourceLineCache = Content->SourceLineCache; in getLineNumber() local
1231 unsigned *SourceLineCacheStart = SourceLineCache; in getLineNumber()
1232 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()
[all …]
/external/clang/lib/Rewrite/Core/
DRewriter.cpp251 unsigned lineOffs = Content->SourceLineCache[lineNo]; in InsertText()
383 unsigned parentLineOffs = Content->SourceLineCache[parentLineNo]; in IncreaseIndentation()
384 unsigned startLineOffs = Content->SourceLineCache[startLineNo]; in IncreaseIndentation()
409 unsigned offs = Content->SourceLineCache[lineNo]; in IncreaseIndentation()
/external/clang/include/clang/Basic/
DSourceManager.h118 unsigned *SourceLineCache; variable
138 SourceLineCache(0), NumLines(0), BufferOverridden(false),
143 SourceLineCache(0), NumLines(0), BufferOverridden(false), in ContentCache()
152 : Buffer(0, false), SourceLineCache(0), BufferOverridden(false), in ContentCache()
158 assert (RHS.Buffer.getPointer() == 0 && RHS.SourceLineCache == 0 && in ContentCache()