Home
last modified time | relevance | path

Searched refs:StrTok (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Lex/
DPPDirectives.cpp1165 Token StrTok; in HandleLineDirective() local
1166 Lex(StrTok); in HandleLineDirective()
1170 if (StrTok.is(tok::eod)) in HandleLineDirective()
1172 else if (StrTok.isNot(tok::string_literal)) { in HandleLineDirective()
1173 Diag(StrTok, diag::err_pp_line_invalid_filename); in HandleLineDirective()
1175 } else if (StrTok.hasUDSuffix()) { in HandleLineDirective()
1176 Diag(StrTok, diag::err_invalid_string_udl); in HandleLineDirective()
1180 StringLiteralParser Literal(StrTok, *this); in HandleLineDirective()
1185 Diag(StrTok, diag::err_pp_linemarker_invalid_filename); in HandleLineDirective()
1297 Token StrTok; in HandleDigitDirective() local
[all …]
DPragma.cpp216 Token StrTok = Tok; in Handle_Pragma() local
229 std::string StrVal = getSpelling(StrTok); in Handle_Pragma()
/external/llvm-project/clang/lib/Lex/
DPPDirectives.cpp1176 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
[all …]
DPragma.cpp247 Token StrTok = Tok; in Handle_Pragma() local
263 std::string StrVal = getSpelling(StrTok); in Handle_Pragma()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp5712 const AsmToken StrTok = getTok(); in parseDirectivePrint() local
5714 if (StrTok.isNot(AsmToken::String) || StrTok.getString().front() != '"') in parseDirectivePrint()
5718 llvm::outs() << StrTok.getStringContents() << '\n'; in parseDirectivePrint()
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmParser.cpp5753 const AsmToken StrTok = getTok(); in parseDirectivePrint() local
5755 if (StrTok.isNot(AsmToken::String) || StrTok.getString().front() != '"') in parseDirectivePrint()
5759 llvm::outs() << StrTok.getStringContents() << '\n'; in parseDirectivePrint()