Lines Matching refs:CodePoint

1587   uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr);  in tryConsumeIdentifierUCN()  local
1588 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN()
1592 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN()
1608 llvm::UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local
1612 &CodePoint, in tryConsumeIdentifierUTF8Char()
1615 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char()
1619 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
1622 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
2977 uint32_t CodePoint = 0; in tryReadUCN() local
3002 CodePoint <<= 4; in tryReadUCN()
3003 CodePoint += Value; in tryReadUCN()
3021 return CodePoint; in tryReadUCN()
3034 if (CodePoint < 0xA0) { in tryReadUCN()
3035 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60) in tryReadUCN()
3036 return CodePoint; in tryReadUCN()
3041 if (CodePoint < 0x20 || CodePoint >= 0x7F) in tryReadUCN()
3044 char C = static_cast<char>(CodePoint); in tryReadUCN()
3050 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) { in tryReadUCN()
3063 return CodePoint; in tryReadUCN()
3856 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) { in LexTokenInternal() local
3857 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3866 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()
3879 llvm::UTF32 CodePoint; in LexTokenInternal() local
3887 &CodePoint, in LexTokenInternal()
3890 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3898 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()