Home | History | Annotate | Download | only in Lex

Lines Matching refs:CurPtr

39   : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(nullptr),
51 // Shadow CurPtr into an automatic variable.
52 const unsigned char *CurPtrShadow = CurPtr;
65 CurPtr = CurPtrShadow;
112 LastHashTokPtr = CurPtr - StoredTokenSize;
170 const unsigned char* p = CurPtr;
184 CurPtr = p;
253 // If we are skipping the first #if block it will be the case that CurPtr
256 if (CurPtr > HashEntryI) {
257 assert(CurPtr == HashEntryI + StoredTokenSize);
260 CurPtr += StoredTokenSize * 2;
267 // Otherwise, we need to advance. Update CurPtr to point to the '#' token.
268 CurPtr = HashEntryI;
272 LastHashTokPtr = CurPtr;
275 assert(((tok::TokenKind)*CurPtr) == tok::hash);
276 CurPtr += StoredTokenSize;
280 CurPtr += StoredTokenSize * 2;
294 const unsigned char *OffsetPtr = CurPtr + (StoredTokenSize - 4);