Lines Matching refs:CodePoint

1599   uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr);  in tryConsumeIdentifierUCN()  local
1600 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN()
1604 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN()
1620 llvm::UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local
1624 &CodePoint, in tryConsumeIdentifierUTF8Char()
1627 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char()
1631 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
1634 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
3012 uint32_t CodePoint = 0; in tryReadUCN() local
3037 CodePoint <<= 4; in tryReadUCN()
3038 CodePoint += Value; in tryReadUCN()
3056 return CodePoint; in tryReadUCN()
3069 if (CodePoint < 0xA0) { in tryReadUCN()
3070 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60) in tryReadUCN()
3071 return CodePoint; in tryReadUCN()
3076 if (CodePoint < 0x20 || CodePoint >= 0x7F) in tryReadUCN()
3079 char C = static_cast<char>(CodePoint); in tryReadUCN()
3085 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) { in tryReadUCN()
3098 return CodePoint; in tryReadUCN()
3897 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) { in LexTokenInternal() local
3898 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3907 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()
3920 llvm::UTF32 CodePoint; in LexTokenInternal() local
3928 &CodePoint, in LexTokenInternal()
3931 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3939 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()