Searched defs:SourceLineCache (Results 1 - 2 of 2) sorted by relevance

/external/clang/include/clang/Basic/
H A DSourceManager.h120 unsigned *SourceLineCache; variable
124 /// This is only valid if SourceLineCache is non-null.
147 SourceLineCache(nullptr), NumLines(0), BufferOverridden(false),
153 /// a non-NULL Buffer or SourceLineCache. Ownership of allocated memory
156 : Buffer(nullptr, false), SourceLineCache(nullptr),
162 RHS.SourceLineCache == nullptr &&
/external/clang/lib/Basic/
H A DSourceManager.cpp1145 LastLineNoContentCache->SourceLineCache != nullptr &&
1147 unsigned *SourceLineCache = LastLineNoContentCache->SourceLineCache; local
1148 unsigned LineStart = SourceLineCache[LastLineNoResult - 1];
1149 unsigned LineEnd = SourceLineCache[LastLineNoResult];
1275 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size());
1276 std::copy(LineOffsets.begin(), LineOffsets.end(), FI->SourceLineCache);
1307 /// SourceLineCache for it on demand.
1308 if (!Content->SourceLineCache) {
1320 unsigned *SourceLineCache local
[all...]

Completed in 243 milliseconds