Searched refs:StringToks (Results 1 – 5 of 5) sorted by relevance
1266 StringLiteralParser(ArrayRef<Token> StringToks, in StringLiteralParser() argument1272 init(StringToks); in StringLiteralParser()1275 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument1278 if (StringToks.empty() || StringToks[0].getLength() < 2) in init()1285 assert(!StringToks.empty() && "expected at least one token"); in init()1286 MaxTokenLength = StringToks[0].getLength(); in init()1287 assert(StringToks[0].getLength() >= 2 && "literal token is invalid!"); in init()1288 SizeBound = StringToks[0].getLength()-2; // -2 for "". in init()1289 Kind = StringToks[0].getKind(); in init()1295 for (unsigned i = 1; i != StringToks.size(); ++i) { in init()[all …]
210 StringLiteralParser(ArrayRef<Token> StringToks,212 StringLiteralParser(ArrayRef<Token> StringToks,219 init(StringToks); in SM()263 void init(ArrayRef<Token> StringToks);
2472 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local2475 StringToks.push_back(Tok); in ParseStringLiteralExpression()2480 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
1604 Sema::ActOnStringLiteral(ArrayRef<Token> StringToks, Scope *UDLScope) { in ActOnStringLiteral() argument1605 assert(!StringToks.empty() && "Must have at least one string!"); in ActOnStringLiteral()1607 StringLiteralParser Literal(StringToks, PP); in ActOnStringLiteral()1612 for (const Token &Tok : StringToks) in ActOnStringLiteral()
3874 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,