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()
3014 uint32_t CodePoint = 0; in tryReadUCN() local
3039 CodePoint <<= 4; in tryReadUCN()
3040 CodePoint += Value; in tryReadUCN()
3058 return CodePoint; in tryReadUCN()
3071 if (CodePoint < 0xA0) { in tryReadUCN()
3072 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60) in tryReadUCN()
3073 return CodePoint; in tryReadUCN()
3078 if (CodePoint < 0x20 || CodePoint >= 0x7F) in tryReadUCN()
3081 char C = static_cast<char>(CodePoint); in tryReadUCN()
3087 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) { in tryReadUCN()
3100 return CodePoint; in tryReadUCN()
3899 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) { in LexTokenInternal() local
3900 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3909 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()
3922 llvm::UTF32 CodePoint; in LexTokenInternal() local
3930 &CodePoint, in LexTokenInternal()
3933 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) { in LexTokenInternal()
3941 return LexUnicode(Result, CodePoint, CurPtr); in LexTokenInternal()