Home | History | Annotate | Download | only in Lex

Lines Matching refs:CodePoint

1435   uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr);
1436 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts))
1440 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
1456 UTF32 CodePoint;
1460 &CodePoint,
1463 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts))
1467 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
2717 uint32_t CodePoint = 0;
2742 CodePoint <<= 4;
2743 CodePoint += Value;
2761 return CodePoint;
2774 if (CodePoint < 0xA0) {
2775 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60)
2776 return CodePoint;
2781 if (CodePoint < 0x20 || CodePoint >= 0x7F)
2784 char C = static_cast<char>(CodePoint);
2791 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) {
2804 return CodePoint;
3562 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) {
3563 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
3572 return LexUnicode(Result, CodePoint, CurPtr);
3584 UTF32 CodePoint;
3592 &CodePoint,
3595 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
3603 return LexUnicode(Result, CodePoint, CurPtr);