Home | History | Annotate | Download | only in Lex

Lines Matching full:bufferptr

70   BufferPtr = BufPtr;
80 if (BufferStart == BufferPtr) {
88 BufferPtr += BOMLength;
194 L->BufferPtr = StrData;
1360 BufferPtr += Bytes;
1361 if (BufferPtr > BufferEnd)
1362 BufferPtr = BufferEnd;
1439 const char *IdStart = BufferPtr;
1561 if (!LangOpts.MicrosoftExt || !isHexaLiteral(BufferPtr, LangOpts))
1572 if (!isHexaLiteral(BufferPtr, LangOpts))
1574 else if (std::find(BufferPtr, CurPtr, '_') != CurPtr)
1581 // Update the location of token as well as BufferPtr.
1582 const char *TokStart = BufferPtr;
1649 Diag(BufferPtr, getLangOpts().CPlusPlus
1663 Diag(BufferPtr, diag::ext_unterminated_string);
1688 // Update the location of the token as well as the BufferPtr instance var.
1689 const char *TokStart = BufferPtr;
1704 Diag(BufferPtr, diag::warn_cxx98_compat_raw_string_literal);
1756 Diag(BufferPtr, diag::err_unterminated_raw_string)
1767 // Update the location of token as well as BufferPtr.
1768 const char *TokStart = BufferPtr;
1801 // Update the location of token as well as BufferPtr.
1802 const char *TokStart = BufferPtr;
1816 Diag(BufferPtr, getLangOpts().CPlusPlus
1823 Diag(BufferPtr, diag::ext_empty_character);
1836 Diag(BufferPtr, diag::ext_unterminated_char);
1861 // Update the location of token as well as BufferPtr.
1862 const char *TokStart = BufferPtr;
1868 /// Update BufferPtr to point to the next non-whitespace character and return.
1890 BufferPtr = CurPtr;
1916 BufferPtr = CurPtr;
1921 /// newline character thats terminate the comment. Then update BufferPtr and
1930 Diag(BufferPtr, diag::ext_line_comment);
2019 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr),
2021 BufferPtr = CurPtr;
2032 BufferPtr = CurPtr;
2047 BufferPtr = CurPtr;
2169 Diag(BufferPtr, diag::err_unterminated_block_comment);
2179 BufferPtr = CurPtr;
2263 Diag(BufferPtr, diag::err_unterminated_block_comment);
2276 BufferPtr = CurPtr;
2289 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr),
2291 BufferPtr = CurPtr;
2311 BufferPtr = CurPtr;
2327 // CurPtr - Cache BufferPtr in an automatic variable.
2328 const char *CurPtr = BufferPtr;
2355 BufferPtr = CurPtr-1;
2383 // Update the location of token as well as BufferPtr.
2395 BufferPtr = BufferEnd;
2417 BufferPtr = CurPtr;
2436 const char *TmpBufferPtr = BufferPtr;
2444 BufferPtr = TmpBufferPtr;
2511 BufferPtr = CurPtr;
2551 BufferPtr = CurPtr;
2600 Diag(BufferPtr, diag::warn_ucn_escape_no_digits)
2603 Diag(BufferPtr, diag::warn_ucn_escape_incomplete);
2653 Diag(BufferPtr, diag::err_ucn_control_character);
2656 Diag(BufferPtr, diag::err_ucn_escape_basic_scs) << StringRef(&C, 1);
2668 Diag(BufferPtr, diag::warn_ucn_escape_surrogate);
2670 Diag(BufferPtr, diag::err_ucn_escape_invalid);
2681 Diag(BufferPtr, diag::ext_unicode_whitespace)
2682 << makeCharRange(*this, BufferPtr, CurPtr);
2695 makeCharRange(*this, BufferPtr, CurPtr),
2705 !isASCII(*BufferPtr) && !isAllowedIDChar(C, LangOpts)) {
2715 Diag(BufferPtr, diag::err_non_ascii)
2716 << FixItHint::CreateRemoval(makeCharRange(*this, BufferPtr, CurPtr));
2718 BufferPtr = CurPtr;
2740 // CurPtr - Cache BufferPtr in an automatic variable.
2741 const char *CurPtr = BufferPtr;
2758 BufferPtr = CurPtr;
2847 CurPtr = BufferPtr;
3196 Diag(BufferPtr, diag::ext_charize_microsoft);
3254 Diag(BufferPtr, diag::warn_cxx98_compat_less_colon_colon);
3362 Diag(BufferPtr, diag::ext_charize_microsoft);
3386 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result))
3400 // We can't just reset CurPtr to BufferPtr because BufferPtr may point to
3423 BufferPtr = CurPtr+1;
3431 // Update the location of token as well as BufferPtr.