Lines Matching defs:CodePoint
1599 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr);
1600 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts))
1604 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
1620 llvm::UTF32 CodePoint;
1624 &CodePoint,
1627 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts))
1631 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
1634 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), CodePoint,
3014 uint32_t CodePoint = 0;
3039 CodePoint <<= 4;
3040 CodePoint += Value;
3058 return CodePoint;
3071 if (CodePoint < 0xA0) {
3072 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60)
3073 return CodePoint;
3078 if (CodePoint < 0x20 || CodePoint >= 0x7F)
3081 char C = static_cast<char>(CodePoint);
3087 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) {
3100 return CodePoint;
3899 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) {
3900 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
3909 return LexUnicode(Result, CodePoint, CurPtr);
3922 llvm::UTF32 CodePoint;
3930 &CodePoint,
3933 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
3941 return LexUnicode(Result, CodePoint, CurPtr);