Lines Matching refs:StringToks

1950 StringLiteralParser::StringLiteralParser(ArrayRef<Token> StringToks,  in StringLiteralParser()  argument
1958 init(StringToks); in StringLiteralParser()
1961 void StringLiteralParser::init(ArrayRef<Token> StringToks){ in init() argument
1964 if (StringToks.empty() || StringToks[0].getLength() < 2) in init()
1971 assert(!StringToks.empty() && "expected at least one token"); in init()
1972 MaxTokenLength = StringToks[0].getLength(); in init()
1973 assert(StringToks[0].getLength() >= 2 && "literal token is invalid!"); in init()
1974 SizeBound = StringToks[0].getLength() - 2; // -2 for "". in init()
1981 for (const Token &Tok : StringToks) { in init()
2053 for (unsigned i = 0, e = StringToks.size(); i != e; ++i) { in init()
2060 Lexer::getSpelling(StringToks[i], ThisTokBuf, SM, Features, in init()
2063 return DiagnoseLexingError(StringToks[i].getLocation()); in init()
2078 if (StringToks[i].hasUCN()) in init()
2084 UDSuffixTokLoc = StringToks[i].getLocation(); in init()
2087 if (StringToks[i].hasUCN()) { in init()
2099 SourceLocation TokLoc = StringToks[i].getLocation(); in init()
2132 return DiagnoseLexingError(StringToks[i].getLocation()); in init()
2145 return DiagnoseLexingError(StringToks[i].getLocation()); in init()
2151 return DiagnoseLexingError(StringToks[i].getLocation()); in init()
2163 if (CopyStringFragment(StringToks[i], ThisTokBegin, BeforeCRLF)) in init()
2174 return DiagnoseLexingError(StringToks[i].getLocation()); in init()
2201 if (CopyStringFragment(StringToks[i], ThisTokBegin, in init()
2211 FullSourceLoc(StringToks[i].getLocation(), SM), in init()
2218 FullSourceLoc(StringToks[i].getLocation(), SM), in init()
2262 Diags->Report(StringToks.front().getLocation(), in init()
2264 << SourceRange(StringToks.front().getLocation(), in init()
2265 StringToks.back().getLocation()); in init()
2274 Diags->Report(StringToks.front().getLocation(), in init()
2278 << SourceRange(StringToks.front().getLocation(), in init()
2279 StringToks.back().getLocation()); in init()