Lines Matching refs:CodePoint

1437   uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr);  in tryConsumeIdentifierUCN()  local
1438 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN()
1442 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN()
1458 UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local
1462 &CodePoint, in tryConsumeIdentifierUTF8Char()
1465 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char()
1469 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
2719 uint32_t CodePoint = 0; in tryReadUCN() local
2744 CodePoint <<= 4; in tryReadUCN()
2745 CodePoint += Value; in tryReadUCN()
2763 return CodePoint; in tryReadUCN()
2776 if (CodePoint < 0xA0) { in tryReadUCN()
2777 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60) in tryReadUCN()
2778 return CodePoint; in tryReadUCN()
2783 if (CodePoint < 0x20 || CodePoint >= 0x7F) in tryReadUCN()
2786 char C = static_cast<char>(CodePoint); in tryReadUCN()
2793 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) { in tryReadUCN()
2806 return CodePoint; in tryReadUCN()
3564 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) { in LexTokenInternal() local
3565 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3574 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()
3586 UTF32 CodePoint; in LexTokenInternal() local
3594 &CodePoint, in LexTokenInternal()
3597 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3605 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()