Lines Matching refs:CurPtr
1160 void Lexer::LexIdentifier(Token &Result, const char *CurPtr) { in LexIdentifier() argument
1163 unsigned char C = *CurPtr++; in LexIdentifier()
1165 C = *CurPtr++; in LexIdentifier()
1167 --CurPtr; // Back up over the skipped character. in LexIdentifier()
1178 FormTokenWithChars(Result, CurPtr, tok::raw_identifier); in LexIdentifier()
1199 C = getCharAndSize(CurPtr, Size); in LexIdentifier()
1207 Diag(CurPtr, diag::ext_dollar_in_identifier); in LexIdentifier()
1208 CurPtr = ConsumeChar(CurPtr, Size, Result); in LexIdentifier()
1209 C = getCharAndSize(CurPtr, Size); in LexIdentifier()
1217 CurPtr = ConsumeChar(CurPtr, Size, Result); in LexIdentifier()
1219 C = getCharAndSize(CurPtr, Size); in LexIdentifier()
1221 CurPtr = ConsumeChar(CurPtr, Size, Result); in LexIdentifier()
1222 C = getCharAndSize(CurPtr, Size); in LexIdentifier()
1241 void Lexer::LexNumericConstant(Token &Result, const char *CurPtr) { in LexNumericConstant() argument
1243 char C = getCharAndSize(CurPtr, Size); in LexNumericConstant()
1246 CurPtr = ConsumeChar(CurPtr, Size, Result); in LexNumericConstant()
1248 C = getCharAndSize(CurPtr, Size); in LexNumericConstant()
1256 return LexNumericConstant(Result, ConsumeChar(CurPtr, Size, Result)); in LexNumericConstant()
1262 return LexNumericConstant(Result, ConsumeChar(CurPtr, Size, Result)); in LexNumericConstant()
1266 FormTokenWithChars(Result, CurPtr, tok::numeric_constant); in LexNumericConstant()
1272 void Lexer::LexStringLiteral(Token &Result, const char *CurPtr, bool Wide) { in LexStringLiteral() argument
1275 char C = getAndAdvanceChar(CurPtr, Result); in LexStringLiteral()
1280 C = getAndAdvanceChar(CurPtr, Result); in LexStringLiteral()
1283 (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. in LexStringLiteral()
1288 FormTokenWithChars(Result, CurPtr-1, tok::unknown); in LexStringLiteral()
1293 NulCharacter = CurPtr-1; in LexStringLiteral()
1294 C = getAndAdvanceChar(CurPtr, Result); in LexStringLiteral()
1303 FormTokenWithChars(Result, CurPtr, in LexStringLiteral()
1310 void Lexer::LexAngledStringLiteral(Token &Result, const char *CurPtr) { in LexAngledStringLiteral() argument
1312 const char *AfterLessPos = CurPtr; in LexAngledStringLiteral()
1313 char C = getAndAdvanceChar(CurPtr, Result); in LexAngledStringLiteral()
1318 C = getAndAdvanceChar(CurPtr, Result); in LexAngledStringLiteral()
1320 (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. in LexAngledStringLiteral()
1326 NulCharacter = CurPtr-1; in LexAngledStringLiteral()
1328 C = getAndAdvanceChar(CurPtr, Result); in LexAngledStringLiteral()
1337 FormTokenWithChars(Result, CurPtr, tok::angle_string_literal); in LexAngledStringLiteral()
1344 void Lexer::LexCharConstant(Token &Result, const char *CurPtr) { in LexCharConstant() argument
1347 char C = getAndAdvanceChar(CurPtr, Result); in LexCharConstant()
1351 FormTokenWithChars(Result, CurPtr, tok::unknown); in LexCharConstant()
1360 C = getAndAdvanceChar(CurPtr, Result); in LexCharConstant()
1362 (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. in LexCharConstant()
1367 FormTokenWithChars(Result, CurPtr-1, tok::unknown); in LexCharConstant()
1370 NulCharacter = CurPtr-1; in LexCharConstant()
1372 C = getAndAdvanceChar(CurPtr, Result); in LexCharConstant()
1381 FormTokenWithChars(Result, CurPtr, tok::char_constant); in LexCharConstant()
1390 bool Lexer::SkipWhitespace(Token &Result, const char *CurPtr) { in SkipWhitespace() argument
1392 unsigned char Char = *CurPtr; // Skip consequtive spaces efficiently. in SkipWhitespace()
1396 Char = *++CurPtr; in SkipWhitespace()
1404 BufferPtr = CurPtr; in SkipWhitespace()
1413 Char = *++CurPtr; in SkipWhitespace()
1417 char PrevChar = CurPtr[-1]; in SkipWhitespace()
1423 FormTokenWithChars(Result, CurPtr, tok::unknown); in SkipWhitespace()
1427 BufferPtr = CurPtr; in SkipWhitespace()
1437 bool Lexer::SkipBCPLComment(Token &Result, const char *CurPtr) { in SkipBCPLComment() argument
1453 C = *CurPtr; in SkipBCPLComment()
1463 C = *++CurPtr; in SkipBCPLComment()
1473 const char *OldPtr = CurPtr; in SkipBCPLComment()
1476 C = getAndAdvanceChar(CurPtr, Result); in SkipBCPLComment()
1483 --CurPtr; in SkipBCPLComment()
1490 if (CurPtr != OldPtr+1 && C != '/' && CurPtr[0] != '/') { in SkipBCPLComment()
1491 for (; OldPtr != CurPtr; ++OldPtr) in SkipBCPLComment()
1496 const char *ForwardPtr = CurPtr; in SkipBCPLComment()
1509 if (CurPtr == BufferEnd+1) { in SkipBCPLComment()
1513 --CurPtr; in SkipBCPLComment()
1522 getSourceLocation(CurPtr)))) { in SkipBCPLComment()
1523 BufferPtr = CurPtr; in SkipBCPLComment()
1529 return SaveBCPLComment(Result, CurPtr); in SkipBCPLComment()
1533 if (ParsingPreprocessorDirective || CurPtr == BufferEnd) { in SkipBCPLComment()
1534 BufferPtr = CurPtr; in SkipBCPLComment()
1543 ++CurPtr; in SkipBCPLComment()
1549 BufferPtr = CurPtr; in SkipBCPLComment()
1555 bool Lexer::SaveBCPLComment(Token &Result, const char *CurPtr) { in SaveBCPLComment() argument
1558 FormTokenWithChars(Result, CurPtr, tok::comment); in SaveBCPLComment()
1583 static bool isEndOfBlockCommentWithEscapedNewLine(const char *CurPtr, in isEndOfBlockCommentWithEscapedNewLine() argument
1585 assert(CurPtr[0] == '\n' || CurPtr[0] == '\r'); in isEndOfBlockCommentWithEscapedNewLine()
1588 --CurPtr; in isEndOfBlockCommentWithEscapedNewLine()
1591 if (CurPtr[0] == '\n' || CurPtr[0] == '\r') { in isEndOfBlockCommentWithEscapedNewLine()
1593 if (CurPtr[0] == CurPtr[1]) in isEndOfBlockCommentWithEscapedNewLine()
1596 --CurPtr; in isEndOfBlockCommentWithEscapedNewLine()
1602 while (isHorizontalWhitespace(*CurPtr) || *CurPtr == 0) { in isEndOfBlockCommentWithEscapedNewLine()
1603 --CurPtr; in isEndOfBlockCommentWithEscapedNewLine()
1608 if (*CurPtr == '\\') { in isEndOfBlockCommentWithEscapedNewLine()
1609 if (CurPtr[-1] != '*') return false; in isEndOfBlockCommentWithEscapedNewLine()
1612 if (CurPtr[0] != '/' || CurPtr[-1] != '?' || CurPtr[-2] != '?' || in isEndOfBlockCommentWithEscapedNewLine()
1613 CurPtr[-3] != '*') in isEndOfBlockCommentWithEscapedNewLine()
1617 CurPtr -= 2; in isEndOfBlockCommentWithEscapedNewLine()
1623 L->Diag(CurPtr, diag::trigraph_ignored_block_comment); in isEndOfBlockCommentWithEscapedNewLine()
1627 L->Diag(CurPtr, diag::trigraph_ends_block_comment); in isEndOfBlockCommentWithEscapedNewLine()
1632 L->Diag(CurPtr, diag::escaped_newline_block_comment_end); in isEndOfBlockCommentWithEscapedNewLine()
1636 L->Diag(CurPtr, diag::backslash_newline_space); in isEndOfBlockCommentWithEscapedNewLine()
1657 bool Lexer::SkipBlockComment(Token &Result, const char *CurPtr) { in SkipBlockComment() argument
1667 unsigned char C = getCharAndSize(CurPtr, CharSize); in SkipBlockComment()
1668 CurPtr += CharSize; in SkipBlockComment()
1669 if (C == 0 && CurPtr == BufferEnd+1) { in SkipBlockComment()
1673 --CurPtr; in SkipBlockComment()
1678 FormTokenWithChars(Result, CurPtr, tok::unknown); in SkipBlockComment()
1682 BufferPtr = CurPtr; in SkipBlockComment()
1689 C = *CurPtr++; in SkipBlockComment()
1694 if (CurPtr + 24 < BufferEnd) { in SkipBlockComment()
1696 while (C != '/' && ((intptr_t)CurPtr & 0x0F) != 0) in SkipBlockComment()
1697 C = *CurPtr++; in SkipBlockComment()
1704 while (CurPtr+16 <= BufferEnd && in SkipBlockComment()
1705 _mm_movemask_epi8(_mm_cmpeq_epi8(*(__m128i*)CurPtr, Slashes)) == 0) in SkipBlockComment()
1706 CurPtr += 16; in SkipBlockComment()
1712 while (CurPtr+16 <= BufferEnd && in SkipBlockComment()
1713 !vec_any_eq(*(vector unsigned char*)CurPtr, Slashes)) in SkipBlockComment()
1714 CurPtr += 16; in SkipBlockComment()
1717 while (CurPtr[0] != '/' && in SkipBlockComment()
1718 CurPtr[1] != '/' && in SkipBlockComment()
1719 CurPtr[2] != '/' && in SkipBlockComment()
1720 CurPtr[3] != '/' && in SkipBlockComment()
1721 CurPtr+4 < BufferEnd) { in SkipBlockComment()
1722 CurPtr += 4; in SkipBlockComment()
1727 C = *CurPtr++; in SkipBlockComment()
1732 C = *CurPtr++; in SkipBlockComment()
1736 if (CurPtr[-2] == '*') // We found the final */. We're done! in SkipBlockComment()
1739 if ((CurPtr[-2] == '\n' || CurPtr[-2] == '\r')) { in SkipBlockComment()
1740 if (isEndOfBlockCommentWithEscapedNewLine(CurPtr-2, this)) { in SkipBlockComment()
1746 if (CurPtr[0] == '*' && CurPtr[1] != '/') { in SkipBlockComment()
1751 Diag(CurPtr-1, diag::warn_nested_block_comment); in SkipBlockComment()
1753 } else if (C == 0 && CurPtr == BufferEnd+1) { in SkipBlockComment()
1761 --CurPtr; in SkipBlockComment()
1766 FormTokenWithChars(Result, CurPtr, tok::unknown); in SkipBlockComment()
1770 BufferPtr = CurPtr; in SkipBlockComment()
1773 C = *CurPtr++; in SkipBlockComment()
1779 getSourceLocation(CurPtr)))) { in SkipBlockComment()
1780 BufferPtr = CurPtr; in SkipBlockComment()
1786 FormTokenWithChars(Result, CurPtr, tok::comment); in SkipBlockComment()
1794 if (isHorizontalWhitespace(*CurPtr)) { in SkipBlockComment()
1796 SkipWhitespace(Result, CurPtr+1); in SkipBlockComment()
1801 BufferPtr = CurPtr; in SkipBlockComment()
1819 const char *CurPtr = BufferPtr; in ReadToEndOfLine() local
1821 char Char = getAndAdvanceChar(CurPtr, Tmp); in ReadToEndOfLine()
1828 if (CurPtr-1 != BufferEnd) { in ReadToEndOfLine()
1837 assert(CurPtr[-1] == Char && "Trigraphs for newline?"); in ReadToEndOfLine()
1838 BufferPtr = CurPtr-1; in ReadToEndOfLine()
1859 bool Lexer::LexEndOfFile(Token &Result, const char *CurPtr) { in LexEndOfFile() argument
1866 FormTokenWithChars(Result, CurPtr, tok::code_completion); in LexEndOfFile()
1883 FormTokenWithChars(Result, CurPtr, tok::eod); in LexEndOfFile()
1911 if (CurPtr != BufferStart && (CurPtr[-1] != '\n' && CurPtr[-1] != '\r')) in LexEndOfFile()
1915 BufferPtr = CurPtr; in LexEndOfFile()
1954 static const char *FindConflictEnd(const char *CurPtr, const char *BufferEnd) { in FindConflictEnd() argument
1955 llvm::StringRef RestOfBuffer(CurPtr+7, BufferEnd-CurPtr-7); in FindConflictEnd()
1974 bool Lexer::IsStartOfConflictMarker(const char *CurPtr) { in IsStartOfConflictMarker() argument
1976 if (CurPtr != BufferStart && in IsStartOfConflictMarker()
1977 CurPtr[-1] != '\n' && CurPtr[-1] != '\r') in IsStartOfConflictMarker()
1981 if (BufferEnd-CurPtr < 8 || in IsStartOfConflictMarker()
1982 llvm::StringRef(CurPtr, 7) != "<<<<<<<") in IsStartOfConflictMarker()
1992 if (FindConflictEnd(CurPtr, BufferEnd)) { in IsStartOfConflictMarker()
1995 Diag(CurPtr, diag::err_conflict_marker); in IsStartOfConflictMarker()
2000 while (*CurPtr != '\r' && *CurPtr != '\n') { in IsStartOfConflictMarker()
2001 assert(CurPtr != BufferEnd && "Didn't find end of line"); in IsStartOfConflictMarker()
2002 ++CurPtr; in IsStartOfConflictMarker()
2004 BufferPtr = CurPtr; in IsStartOfConflictMarker()
2017 bool Lexer::HandleEndOfConflictMarker(const char *CurPtr) { in HandleEndOfConflictMarker() argument
2019 if (CurPtr != BufferStart && in HandleEndOfConflictMarker()
2020 CurPtr[-1] != '\n' && CurPtr[-1] != '\r') in HandleEndOfConflictMarker()
2030 if (CurPtr[i] != CurPtr[0]) in HandleEndOfConflictMarker()
2036 if (const char *End = FindConflictEnd(CurPtr, BufferEnd)) { in HandleEndOfConflictMarker()
2037 CurPtr = End; in HandleEndOfConflictMarker()
2040 while (CurPtr != BufferEnd && *CurPtr != '\r' && *CurPtr != '\n') in HandleEndOfConflictMarker()
2041 ++CurPtr; in HandleEndOfConflictMarker()
2043 BufferPtr = CurPtr; in HandleEndOfConflictMarker()
2066 const char *CurPtr = BufferPtr; in LexTokenInternal() local
2069 if ((*CurPtr == ' ') || (*CurPtr == '\t')) { in LexTokenInternal()
2070 ++CurPtr; in LexTokenInternal()
2071 while ((*CurPtr == ' ') || (*CurPtr == '\t')) in LexTokenInternal()
2072 ++CurPtr; in LexTokenInternal()
2078 FormTokenWithChars(Result, CurPtr, tok::unknown); in LexTokenInternal()
2082 BufferPtr = CurPtr; in LexTokenInternal()
2089 char Char = getAndAdvanceChar(CurPtr, Result); in LexTokenInternal()
2095 if (CurPtr-1 == BufferEnd) { in LexTokenInternal()
2099 if (LexEndOfFile(Result, CurPtr-1)) // Retreat back into the file. in LexTokenInternal()
2106 Diag(CurPtr-1, diag::null_in_file); in LexTokenInternal()
2108 if (SkipWhitespace(Result, CurPtr)) in LexTokenInternal()
2119 if (LexEndOfFile(Result, CurPtr-1)) // Retreat back into the file. in LexTokenInternal()
2150 if (SkipWhitespace(Result, CurPtr)) in LexTokenInternal()
2159 if (SkipWhitespace(Result, CurPtr)) in LexTokenInternal()
2163 CurPtr = BufferPtr; in LexTokenInternal()
2167 if (CurPtr[0] == '/' && CurPtr[1] == '/' && !inKeepCommentMode() && in LexTokenInternal()
2169 if (SkipBCPLComment(Result, CurPtr+2)) in LexTokenInternal()
2172 } else if (CurPtr[0] == '/' && CurPtr[1] == '*' && !inKeepCommentMode()) { in LexTokenInternal()
2173 if (SkipBlockComment(Result, CurPtr+2)) in LexTokenInternal()
2176 } else if (isHorizontalWhitespace(*CurPtr)) { in LexTokenInternal()
2187 return LexNumericConstant(Result, CurPtr); in LexTokenInternal()
2192 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2196 return LexStringLiteral(Result, ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2201 return LexCharConstant(Result, ConsumeChar(CurPtr, SizeTmp, Result)); in LexTokenInternal()
2216 return LexIdentifier(Result, CurPtr); in LexTokenInternal()
2221 Diag(CurPtr-1, diag::ext_dollar_in_identifier); in LexTokenInternal()
2224 return LexIdentifier(Result, CurPtr); in LexTokenInternal()
2234 return LexCharConstant(Result, CurPtr); in LexTokenInternal()
2240 return LexStringLiteral(Result, CurPtr, false); in LexTokenInternal()
2265 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2270 return LexNumericConstant(Result, ConsumeChar(CurPtr, SizeTmp, Result)); in LexTokenInternal()
2273 CurPtr += SizeTmp; in LexTokenInternal()
2275 getCharAndSize(CurPtr+SizeTmp, SizeTmp2) == '.') { in LexTokenInternal()
2277 CurPtr = ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2284 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2287 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2290 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2296 if (getCharAndSize(CurPtr, SizeTmp) == '=') { in LexTokenInternal()
2298 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2304 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2306 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2309 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2316 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2318 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2321 getCharAndSize(CurPtr+SizeTmp, SizeTmp2) == '*') { // C++ ->* in LexTokenInternal()
2322 CurPtr = ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2326 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2329 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2339 if (getCharAndSize(CurPtr, SizeTmp) == '=') { in LexTokenInternal()
2341 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2348 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2359 getCharAndSize(CurPtr+SizeTmp, SizeTmp2) != '*') && in LexTokenInternal()
2361 if (SkipBCPLComment(Result, ConsumeChar(CurPtr, SizeTmp, Result))) in LexTokenInternal()
2372 if (SkipBlockComment(Result, ConsumeChar(CurPtr, SizeTmp, Result))) in LexTokenInternal()
2378 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2385 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2388 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2391 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2393 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2394 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2395 if (Char == '%' && getCharAndSize(CurPtr+SizeTmp, SizeTmp2) == ':') { in LexTokenInternal()
2397 CurPtr = ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2400 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2410 FormTokenWithChars(Result, CurPtr, tok::hash); in LexTokenInternal()
2437 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2439 return LexAngledStringLiteral(Result, CurPtr); in LexTokenInternal()
2441 char After = getCharAndSize(CurPtr+SizeTmp, SizeTmp2); in LexTokenInternal()
2444 CurPtr = ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2446 } else if (After == '<' && IsStartOfConflictMarker(CurPtr-1)) { in LexTokenInternal()
2452 CurPtr = ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2455 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2459 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2463 getCharAndSize(CurPtr + SizeTmp, SizeTmp2) == ':') { in LexTokenInternal()
2470 char After = getCharAndSize(CurPtr + SizeTmp + SizeTmp2, SizeTmp3); in LexTokenInternal()
2477 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2480 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2487 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2489 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2492 char After = getCharAndSize(CurPtr+SizeTmp, SizeTmp2); in LexTokenInternal()
2494 CurPtr = ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2497 } else if (After == '>' && HandleEndOfConflictMarker(CurPtr-1)) { in LexTokenInternal()
2502 CurPtr = ConsumeChar(ConsumeChar(CurPtr, SizeTmp, Result), in LexTokenInternal()
2505 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2514 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2516 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2523 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2526 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2529 if (CurPtr[1] == '|' && HandleEndOfConflictMarker(CurPtr-1)) in LexTokenInternal()
2532 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2538 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2541 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2544 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2553 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2556 if (CurPtr[1] == '=' && HandleEndOfConflictMarker(CurPtr-1)) in LexTokenInternal()
2560 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2569 Char = getCharAndSize(CurPtr, SizeTmp); in LexTokenInternal()
2572 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2577 CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); in LexTokenInternal()
2584 FormTokenWithChars(Result, CurPtr, tok::hash); in LexTokenInternal()
2609 if (CurPtr[-1] == '@' && Features.ObjC1) in LexTokenInternal()
2627 FormTokenWithChars(Result, CurPtr, Kind); in LexTokenInternal()