Searched refs:StringToks (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 1266 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/llvm-project/clang/lib/Lex/ |
D | LiteralSupport.cpp | 1475 StringLiteralParser(ArrayRef<Token> StringToks, in StringLiteralParser() argument 1481 init(StringToks); in StringLiteralParser() 1484 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument 1487 if (StringToks.empty() || StringToks[0].getLength() < 2) in init() 1494 assert(!StringToks.empty() && "expected at least one token"); in init() 1495 MaxTokenLength = StringToks[0].getLength(); in init() 1496 assert(StringToks[0].getLength() >= 2 && "literal token is invalid!"); in init() 1497 SizeBound = StringToks[0].getLength()-2; // -2 for "". in init() 1498 Kind = StringToks[0].getKind(); in init() 1504 for (unsigned i = 1; i != StringToks.size(); ++i) { in init() [all …]
|
/external/clang/include/clang/Lex/ |
D | LiteralSupport.h | 210 StringLiteralParser(ArrayRef<Token> StringToks, 212 StringLiteralParser(ArrayRef<Token> StringToks, 219 init(StringToks); in SM() 263 void init(ArrayRef<Token> StringToks);
|
/external/llvm-project/clang/include/clang/Lex/ |
D | LiteralSupport.h | 225 StringLiteralParser(ArrayRef<Token> StringToks, 227 StringLiteralParser(ArrayRef<Token> StringToks, 234 init(StringToks); in SM() 280 void init(ArrayRef<Token> StringToks);
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 2472 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local 2475 StringToks.push_back(Tok); in ParseStringLiteralExpression() 2480 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseExpr.cpp | 3134 SmallVector<Token, 4> StringToks; in ParseStringLiteralExpression() local 3137 StringToks.push_back(Tok); in ParseStringLiteralExpression() 3142 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 1793 Sema::ActOnStringLiteral(ArrayRef<Token> StringToks, Scope *UDLScope) { in ActOnStringLiteral() argument 1794 assert(!StringToks.empty() && "Must have at least one string!"); in ActOnStringLiteral() 1796 StringLiteralParser Literal(StringToks, PP); in ActOnStringLiteral() 1801 for (const Token &Tok : StringToks) in ActOnStringLiteral() 1835 for (const Token &Tok : StringToks) { in ActOnStringLiteral()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 1604 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/ |
D | Sema.h | 3874 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 5058 ExprResult ActOnStringLiteral(ArrayRef<Token> StringToks,
|