Home
last modified time | relevance | path

Searched refs:StringToks (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Lex/
DLiteralSupport.cpp1252 StringLiteralParser(ArrayRef<Token> StringToks, in StringLiteralParser() argument
1258 init(StringToks); in StringLiteralParser()
1261 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument
1264 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 …]
/external/clang/include/clang/Lex/
DLiteralSupport.h199 StringLiteralParser(ArrayRef<Token> StringToks,
201 StringLiteralParser(ArrayRef<Token> StringToks,
208 init(StringToks); in SM()
252 void init(ArrayRef<Token> StringToks);
/external/clang/lib/Parse/
DParseExpr.cpp2424 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local
2427 StringToks.push_back(Tok); in ParseStringLiteralExpression()
2432 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
/external/clang/lib/Sema/
DSemaExpr.cpp1542 Sema::ActOnStringLiteral(ArrayRef<Token> StringToks, Scope *UDLScope) { in ActOnStringLiteral() argument
1543 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()
/external/clang/include/clang/Sema/
DSema.h3783 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,