Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DSourceManager.cpp1137 LastLineNoContentCache->SourceLineCache != nullptr && in getColumnNumber()
1139 unsigned *SourceLineCache = LastLineNoContentCache->SourceLineCache; in getColumnNumber() local
1140 unsigned LineStart = SourceLineCache[LastLineNoResult - 1]; in getColumnNumber()
1141 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber()
1267 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size()); in ComputeLineNumbers()
1268 std::copy(LineOffsets.begin(), LineOffsets.end(), FI->SourceLineCache); in ComputeLineNumbers()
1300 if (!Content->SourceLineCache) { in getLineNumber()
1312 unsigned *SourceLineCache = Content->SourceLineCache; in getLineNumber() local
1313 unsigned *SourceLineCacheStart = SourceLineCache; in getLineNumber()
1314 unsigned *SourceLineCacheEnd = SourceLineCache + Content->NumLines; in getLineNumber()
[all …]
/external/clang/lib/Rewrite/
DRewriter.cpp253 unsigned lineOffs = Content->SourceLineCache[lineNo]; in InsertText()
359 unsigned parentLineOffs = Content->SourceLineCache[parentLineNo]; in IncreaseIndentation()
360 unsigned startLineOffs = Content->SourceLineCache[startLineNo]; in IncreaseIndentation()
385 unsigned offs = Content->SourceLineCache[lineNo]; in IncreaseIndentation()
/external/clang/include/clang/Basic/
DSourceManager.h119 unsigned *SourceLineCache; variable
141 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false), in ContentCache()
150 : Buffer(nullptr, false), SourceLineCache(nullptr), in ContentCache()
156 RHS.SourceLineCache == nullptr && in ContentCache()