Home | History | Annotate | Download | only in Support

Lines Matching refs:Cache

38   // Delete the line # cache if allocated.
39 if (LineNoCacheTy *Cache = getCache(LineNoCache))
40 delete Cache;
96 // If we have a line number cache, and if the query is to a later point in the
99 if (LineNoCacheTy *Cache = getCache(LineNoCache))
100 if (Cache->LastQueryBufferID == BufferID &&
101 Cache->LastQuery <= Loc.getPointer()) {
102 Ptr = Cache->LastQuery;
103 LineNo = Cache->LineNoOfQuery;
112 // Allocate the line number cache if it doesn't exist.
116 // Update the line # cache.
117 LineNoCacheTy &Cache = *getCache(LineNoCache);
118 Cache.LastQueryBufferID = BufferID;
119 Cache.LastQuery = Ptr;
120 Cache.LineNoOfQuery = LineNo;