Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DLiteralSupport.cpp1258 StringLiteralParser(ArrayRef<Token> StringToks, in StringLiteralParser() argument
1264 init(StringToks); in StringLiteralParser()
1267 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument
1270 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 …]
/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.cpp2178 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local
2181 StringToks.push_back(Tok); in ParseStringLiteralExpression()
2186 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
/external/clang/lib/Sema/
DSemaExpr.cpp1502 Sema::ActOnStringLiteral(ArrayRef<Token> StringToks, Scope *UDLScope) { in ActOnStringLiteral() argument
1503 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()
/external/clang/include/clang/Sema/
DSema.h3455 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,