Searched refs:StringToks (Results 1 – 5 of 5) sorted by relevance
1252 StringLiteralParser(ArrayRef<Token> StringToks, in StringLiteralParser() argument1258 init(StringToks); in StringLiteralParser()1261 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument1264 if (StringToks.empty() || StringToks[0].getLength() < 2) in init()1271 assert(!StringToks.empty() && "expected at least one token"); in init()1272 MaxTokenLength = StringToks[0].getLength(); in init()1273 assert(StringToks[0].getLength() >= 2 && "literal token is invalid!"); in init()1274 SizeBound = StringToks[0].getLength()-2; // -2 for "". in init()1275 Kind = StringToks[0].getKind(); in init()1281 for (unsigned i = 1; i != StringToks.size(); ++i) { in init()[all …]
199 StringLiteralParser(ArrayRef<Token> StringToks,201 StringLiteralParser(ArrayRef<Token> StringToks,208 init(StringToks); in SM()252 void init(ArrayRef<Token> StringToks);
2424 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local2427 StringToks.push_back(Tok); in ParseStringLiteralExpression()2432 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
1542 Sema::ActOnStringLiteral(ArrayRef<Token> StringToks, Scope *UDLScope) { in ActOnStringLiteral() argument1543 assert(!StringToks.empty() && "Must have at least one string!"); in ActOnStringLiteral()1545 StringLiteralParser Literal(StringToks, PP); in ActOnStringLiteral()1550 for (const Token &Tok : StringToks) in ActOnStringLiteral()
3783 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,