Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DLiteralSupport.cpp1266 StringLiteralParser(ArrayRef<Token> StringToks, in StringLiteralParser() argument
1272 init(StringToks); in StringLiteralParser()
1275 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument
1278 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 …]
/external/clang/include/clang/Lex/
DLiteralSupport.h210 StringLiteralParser(ArrayRef<Token> StringToks,
212 StringLiteralParser(ArrayRef<Token> StringToks,
219 init(StringToks); in SM()
263 void init(ArrayRef<Token> StringToks);
/external/clang/lib/Parse/
DParseExpr.cpp2472 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local
2475 StringToks.push_back(Tok); in ParseStringLiteralExpression()
2480 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
/external/clang/lib/Sema/
DSemaExpr.cpp1604 Sema::ActOnStringLiteral(ArrayRef<Token> StringToks, Scope *UDLScope) { in ActOnStringLiteral() argument
1605 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()
/external/clang/include/clang/Sema/
DSema.h3874 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,