Lines Matching defs:CodePoint

1762     DiagnosticsEngine &Diags, const LangOptions &LangOpts, uint32_t CodePoint,
1764 if (isASCII(CodePoint))
1768 bool IsIDStart = isAllowedInitiallyIDChar(CodePoint, LangOpts, IsExtension);
1770 IsIDStart || isAllowedIDChar(CodePoint, LangOpts, IsExtension);
1779 << Range << codepointAsHexString(CodePoint) << int(InvalidOnlyAtStart)
1783 << Range << codepointAsHexString(CodePoint)
1791 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr);
1792 if (CodePoint == 0) {
1796 if (!isAllowedIDChar(CodePoint, LangOpts, IsExtension)) {
1797 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint))
1802 PP->getDiagnostics(), LangOpts, CodePoint,
1811 diagnoseExtensionInIdentifier(PP->getDiagnostics(), CodePoint,
1814 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
1830 llvm::UTF32 CodePoint;
1842 &CodePoint, llvm::strictConversion);
1847 if (!isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts,
1849 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint))
1855 PP->getDiagnostics(), LangOpts, CodePoint,
1863 PP->getDiagnostics(), CodePoint,
1865 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint,
1868 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), CodePoint,
3436 uint32_t CodePoint = 0;
3461 if (CodePoint & 0xF000'0000) {
3467 CodePoint <<= 4;
3468 CodePoint |= Value;
3520 return CodePoint;
3599 Match = LooseMatch->CodePoint;
3631 uint32_t CodePoint = *CodePointOpt;
3635 return CodePoint;
3653 if (CodePoint < 0xA0) {
3657 if (CodePoint < 0x20 || CodePoint >= 0x7F)
3660 char C = static_cast<char>(CodePoint);
3666 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) {
3679 return CodePoint;
4435 if (uint32_t CodePoint = tryReadUCN(CurPtr, BufferPtr, &Result)) {
4436 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
4445 return LexUnicodeIdentifierStart(Result, CodePoint, CurPtr);
4458 llvm::UTF32 CodePoint;
4466 &CodePoint,
4469 if (CheckUnicodeWhitespace(Result, CodePoint, CurPtr)) {
4477 return LexUnicodeIdentifierStart(Result, CodePoint, CurPtr);