Lines Matching refs:CodePoint
1462 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr); in tryConsumeIdentifierUCN() local
1463 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN()
1467 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN()
1483 UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local
1487 &CodePoint, in tryConsumeIdentifierUTF8Char()
1490 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char()
1494 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
2745 uint32_t CodePoint = 0; in tryReadUCN() local
2770 CodePoint <<= 4; in tryReadUCN()
2771 CodePoint += Value; in tryReadUCN()
2789 return CodePoint; in tryReadUCN()
2802 if (CodePoint < 0xA0) { in tryReadUCN()
2803 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60) in tryReadUCN()
2804 return CodePoint; in tryReadUCN()
2809 if (CodePoint < 0x20 || CodePoint >= 0x7F) in tryReadUCN()
2812 char C = static_cast<char>(CodePoint); in tryReadUCN()
2819 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) { in tryReadUCN()
2832 return CodePoint; in tryReadUCN()
3596 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) { in LexTokenInternal() local
3597 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3606 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()
3618 UTF32 CodePoint; in LexTokenInternal() local
3626 &CodePoint, in LexTokenInternal()
3629 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3637 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()