Home | History | Annotate | Download | only in Support

Lines Matching defs:Cache

42   // Delete the line # cache if allocated.
43 if (LineNoCacheTy *Cache = getCache(LineNoCache))
44 delete Cache;
102 // If we have a line number cache, and if the query is to a later point in the
105 if (LineNoCacheTy *Cache = getCache(LineNoCache))
106 if (Cache->LastQueryBufferID == BufferID &&
107 Cache->LastQuery <= Loc.getPointer()) {
108 Ptr = Cache->LastQuery;
109 LineNo = Cache->LineNoOfQuery;
117 // Allocate the line number cache if it doesn't exist.
121 // Update the line # cache.
122 LineNoCacheTy &Cache = *getCache(LineNoCache);
123 Cache.LastQueryBufferID = BufferID;
124 Cache.LastQuery = Ptr;
125 Cache.LineNoOfQuery = LineNo;