Home | History | Annotate | Download | only in Lex

Lines Matching defs:EndPos

256   const char *EndPos = CurLexer->BufferEnd;
257 if (EndPos != CurLexer->BufferStart &&
258 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) {
259 --EndPos;
262 if (EndPos != CurLexer->BufferStart &&
263 (EndPos[-1] == '\n' || EndPos[-1] == '\r') &&
264 EndPos[-1] != EndPos[0])
265 --EndPos;
268 return EndPos;
378 const char *EndPos = getCurLexerEndPos();
380 CurLexer->BufferPtr = EndPos;
381 CurLexer->FormTokenWithChars(Result, EndPos, tok::annot_module_end);
406 const char *EndPos = getCurLexerEndPos();
408 CurLexer->BufferPtr = EndPos;
409 CurLexer->FormTokenWithChars(Result, EndPos, tok::eof);