Lines Matching refs:StrTok

1176   Token StrTok;  in HandleLineDirective()  local
1177 Lex(StrTok); in HandleLineDirective()
1181 if (StrTok.is(tok::eod)) in HandleLineDirective()
1183 else if (StrTok.isNot(tok::string_literal)) { in HandleLineDirective()
1184 Diag(StrTok, diag::err_pp_line_invalid_filename); in HandleLineDirective()
1187 } else if (StrTok.hasUDSuffix()) { in HandleLineDirective()
1188 Diag(StrTok, diag::err_invalid_string_udl); in HandleLineDirective()
1193 StringLiteralParser Literal(StrTok, *this); in HandleLineDirective()
1200 Diag(StrTok, diag::err_pp_linemarker_invalid_filename); in HandleLineDirective()
1321 Token StrTok; in HandleDigitDirective() local
1322 Lex(StrTok); in HandleDigitDirective()
1330 if (StrTok.is(tok::eod)) { in HandleDigitDirective()
1333 } else if (StrTok.isNot(tok::string_literal)) { in HandleDigitDirective()
1334 Diag(StrTok, diag::err_pp_linemarker_invalid_filename); in HandleDigitDirective()
1337 } else if (StrTok.hasUDSuffix()) { in HandleDigitDirective()
1338 Diag(StrTok, diag::err_invalid_string_udl); in HandleDigitDirective()
1343 StringLiteralParser Literal(StrTok, *this); in HandleDigitDirective()
1350 Diag(StrTok, diag::err_pp_linemarker_invalid_filename); in HandleDigitDirective()
1408 Token StrTok; in HandleIdentSCCSDirective() local
1409 Lex(StrTok); in HandleIdentSCCSDirective()
1412 if (StrTok.isNot(tok::string_literal) && in HandleIdentSCCSDirective()
1413 StrTok.isNot(tok::wide_string_literal)) { in HandleIdentSCCSDirective()
1414 Diag(StrTok, diag::err_pp_malformed_ident); in HandleIdentSCCSDirective()
1415 if (StrTok.isNot(tok::eod)) in HandleIdentSCCSDirective()
1420 if (StrTok.hasUDSuffix()) { in HandleIdentSCCSDirective()
1421 Diag(StrTok, diag::err_invalid_string_udl); in HandleIdentSCCSDirective()
1431 std::string Str = getSpelling(StrTok, &Invalid); in HandleIdentSCCSDirective()