Lines Matching defs:ThisTokEnd

132                                   const char *ThisTokEnd, bool &HadError,
189 if (ThisTokBuf != ThisTokEnd && *ThisTokBuf == '{') {
198 } else if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) {
207 for (; ThisTokBuf != ThisTokEnd; ++ThisTokBuf) {
260 } while (ThisTokBuf != ThisTokEnd && NumDigits < 3 &&
274 if (ThisTokBuf == ThisTokEnd || *ThisTokBuf != '{') {
293 while (ThisTokBuf != ThisTokEnd) {
459 const char *ThisTokEnd, uint32_t &UcnVal,
472 ThisTokBuf != ThisTokEnd && *ThisTokBuf == '{') {
475 } else if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) {
486 for (; ThisTokBuf != ThisTokEnd && (Delimited || Count != UcnLen);
600 const char *ThisTokEnd, uint32_t &UcnVal,
607 if (ThisTokBuf == ThisTokEnd || *ThisTokBuf != '{') {
616 const char *ClosingBrace = std::find_if(ThisTokBuf, ThisTokEnd, [](char C) {
619 bool Incomplete = ClosingBrace == ThisTokEnd;
628 ThisTokBuf = ClosingBrace == ThisTokEnd ? ClosingBrace : ClosingBrace + 1;
648 const char *ThisTokEnd, uint32_t &UcnVal,
660 HasError = !ProcessNamedUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd,
664 !ProcessNumericUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal,
723 const char *ThisTokEnd, unsigned CharByteWidth,
733 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal,
758 const char *ThisTokEnd,
766 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal, UcnLen,
909 ThisTokBegin(TokSpelling.begin()), ThisTokEnd(TokSpelling.end()) {
938 if (isPreprocessingNumberBody(*ThisTokEnd) &&
939 !(LangOpts.HLSL && *ThisTokEnd == '.')) {
952 if (s == ThisTokEnd) {
966 for (const char *c = s; c != ThisTokEnd; ++c) {
983 for (; s != ThisTokEnd; ++s) {
1027 s + 2 < ThisTokEnd && s[1] == '1' && s[2] == '6') {
1057 assert(s + 1 < ThisTokEnd && "didn't maximally munch?");
1113 assert(s <= ThisTokEnd && "didn't maximally munch?");
1131 if (LangOpts.CPlusPlus && s + 2 < ThisTokEnd &&
1132 s[1] == '_') { // s + 2 < ThisTokEnd to ensure some character exists
1136 if (s + 1 < ThisTokEnd &&
1141 if (s + 1 < ThisTokEnd &&
1160 if ((!LangOpts.CPlusPlus || DoubleUnderscore) && s + 1 < ThisTokEnd &&
1173 if (s != ThisTokEnd || isImaginary) {
1175 expandUCNs(UDSuffixBuf, StringRef(SuffixBegin, ThisTokEnd - SuffixBegin));
1199 if (s != ThisTokEnd) {
1204 << StringRef(SuffixBegin, ThisTokEnd - SuffixBegin)
1224 !isValidUDSuffix(LangOpts, StringRef(s, ThisTokEnd - s))) {
1247 if (s != ThisTokEnd && (*s == '+' || *s == '-')) s++; // sign
1300 } else if (Pos == ThisTokEnd)
1326 assert(s < ThisTokEnd && "didn't maximally munch?");
1331 if (s == ThisTokEnd) {
1360 if (s != ThisTokEnd && (*s == '+' || *s == '-')) s++; // sign
1404 assert(s < ThisTokEnd && "didn't maximally munch?");
1408 if (s == ThisTokEnd) {
1411 !isValidUDSuffix(LangOpts, StringRef(s, ThisTokEnd - s))) {
1434 if (s == ThisTokEnd)
1530 unsigned n = std::min(SuffixBegin - ThisTokBegin, ThisTokEnd - ThisTokBegin);
2068 const char *ThisTokEnd = ThisTokBuf+ThisTokLen;
2071 if (ThisTokEnd[-1] != '"') {
2072 const char *UDSuffixEnd = ThisTokEnd;
2074 --ThisTokEnd;
2075 } while (ThisTokEnd[-1] != '"');
2077 StringRef UDSuffix(ThisTokEnd, UDSuffixEnd - ThisTokEnd);
2085 UDSuffixOffset = ThisTokEnd - ThisTokBuf;
2117 --ThisTokEnd;
2151 ThisTokEnd -= ThisTokBuf - Prefix;
2152 if (ThisTokEnd < ThisTokBuf)
2157 StringRef RemainingTokenSpan(ThisTokBuf, ThisTokEnd - ThisTokBuf);
2182 ThisTokBuf + 1 != ThisTokEnd && ThisTokBuf[0] == '\\' &&
2194 while (ThisTokBuf != ThisTokEnd) {
2200 } while (ThisTokBuf != ThisTokEnd && ThisTokBuf[0] != '\\');
2211 EncodeUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd,
2219 ProcessCharEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, hadError,