Lines Matching defs:CodePoint

1740     DiagnosticsEngine &Diags, const LangOptions &LangOpts, uint32_t CodePoint,
1742 if (isASCII(CodePoint))
1746 bool IsIDStart = isAllowedInitiallyIDChar(CodePoint, LangOpts, IsExtension);
1748 IsIDStart || isAllowedIDChar(CodePoint, LangOpts, IsExtension);
1757 << Range << codepointAsHexString(CodePoint) << int(InvalidOnlyAtStart)
1761 << Range << codepointAsHexString(CodePoint)
1769 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr);
1770 if (CodePoint == 0) {
1774 if (!isAllowedIDChar(CodePoint, LangOpts, IsExtension)) {
1775 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint))
1780 PP->getDiagnostics(), LangOpts, CodePoint,
1789 diagnoseExtensionInIdentifier(PP->getDiagnostics(), CodePoint,
1792 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
1808 llvm::UTF32 CodePoint;
1820 &CodePoint, llvm::strictConversion);
1825 if (!isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts,
1827 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint))
1833 PP->getDiagnostics(), LangOpts, CodePoint,
1841 PP->getDiagnostics(), CodePoint,
1843 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
1846 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), CodePoint,
3412 uint32_t CodePoint = 0;
3437 if (CodePoint & 0xF000'0000) {
3443 CodePoint <<= 4;
3444 CodePoint |= Value;
3496 return CodePoint;
3575 Match = LooseMatch->CodePoint;
3607 uint32_t CodePoint = *CodePointOpt;
3611 return CodePoint;
3629 if (CodePoint < 0xA0) {
3633 if (CodePoint < 0x20 || CodePoint >= 0x7F)
3636 char C = static_cast<char>(CodePoint);
3642 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) {
3655 return CodePoint;
4412 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) {
4413 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
4422 return LexUnicodeIdentifierStart(Result, CodePoint, CurPtr);
4435 llvm::UTF32 CodePoint;
4443 &CodePoint,
4446 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
4454 return LexUnicodeIdentifierStart(Result, CodePoint, CurPtr);