Home | History | Annotate | Download | only in Lex

Lines Matching refs:CurTok

1314   Token CurTok;
1316 Lex(CurTok);
1317 while (CurTok.isNot(tok::eod)) {
1318 End = CurTok.getLocation();
1321 if (CurTok.is(tok::code_completion)) {
1323 Lex(CurTok);
1329 if (CurTok.hasLeadingSpace())
1334 FilenameBuffer.resize(PreAppendSize+CurTok.getLength());
1337 unsigned ActualLen = getSpelling(CurTok, BufPtr);
1344 if (CurTok.getLength() != ActualLen)
1348 if (CurTok.is(tok::greater))
1351 Lex(CurTok);
1356 Diag(CurTok.getLocation(), diag::err_pp_expects_filename);