Searched refs:StringToks (Results 1 – 5 of 5) sorted by relevance
1258 StringLiteralParser(ArrayRef<Token> StringToks, in StringLiteralParser() argument1264 init(StringToks); in StringLiteralParser()1267 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument1270 if (StringToks.empty() || StringToks[0].getLength() < 2) in init()1277 assert(!StringToks.empty() && "expected at least one token"); in init()1278 MaxTokenLength = StringToks[0].getLength(); in init()1279 assert(StringToks[0].getLength() >= 2 && "literal token is invalid!"); in init()1280 SizeBound = StringToks[0].getLength()-2; // -2 for "". in init()1281 Kind = StringToks[0].getKind(); in init()1287 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);
2178 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local2181 StringToks.push_back(Tok); in ParseStringLiteralExpression()2186 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
1502 Sema::ActOnStringLiteral(ArrayRef<Token> StringToks, Scope *UDLScope) { in ActOnStringLiteral() argument1503 assert(!StringToks.empty() && "Must have at least one string!"); in ActOnStringLiteral()1505 StringLiteralParser Literal(StringToks, PP); in ActOnStringLiteral()1510 for (unsigned i = 0; i != StringToks.size(); ++i) in ActOnStringLiteral()1511 StringTokLocs.push_back(StringToks[i].getLocation()); in ActOnStringLiteral()
3455 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,