Searched refs:CodePoint (Results 1 – 8 of 8) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
H A D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 29 static bool translateCodePointToUTF8(unsigned CodePoint, in translateCodePointToUTF8() argument 33 if (!ConvertCodePointToUTF8(CodePoint, TranslatedPtr)) in translateCodePointToUTF8() 58 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences() local 61 if (!translateCodePointToUTF8(CodePoint, CLiteral)) { in EmitClangCommentHTMLNamedCharacterReferences()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | CommentLexer.cpp | 41 unsigned CodePoint) { in convertCodePointToUTF8() argument 44 if (llvm::ConvertCodePointToUTF8(CodePoint, ResolvedPtr)) in convertCodePointToUTF8() 70 unsigned CodePoint = 0; in resolveHTMLDecimalCharacterReference() local 73 CodePoint *= 10; in resolveHTMLDecimalCharacterReference() 74 CodePoint += Name[i] - '0'; in resolveHTMLDecimalCharacterReference() 76 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLDecimalCharacterReference() 80 unsigned CodePoint = 0; in resolveHTMLHexCharacterReference() local 82 CodePoint *= 16; in resolveHTMLHexCharacterReference() 85 CodePoint += llvm::hexDigitValue(C); in resolveHTMLHexCharacterReference() 87 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLHexCharacterReference()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | Lexer.cpp | 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() [all …]
|
H A D | LiteralSupport.cpp | 258 uint32_t CodePoint = 0; in expandUCNs() local 263 CodePoint <<= 4; in expandUCNs() 264 CodePoint += Value; in expandUCNs() 267 appendCodePoint(CodePoint, Buf); in expandUCNs()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Demangle/ |
H A D | RustDemangle.cpp | 595 static bool isAsciiPrintable(uint64_t CodePoint) { in isAsciiPrintable() argument 596 return 0x20 <= CodePoint && CodePoint <= 0x7e; in isAsciiPrintable() 602 uint64_t CodePoint = parseHexNumber(HexDigits); in demangleConstChar() local 609 switch (CodePoint) { in demangleConstChar()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
H A D | Program.cpp | 58 const uint32_t CodePoint = I == N ? 0 : S->getCodeUnit(I); in createGlobalString() local 62 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString() 67 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString() 72 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | CommentHTMLNamedCharacterReferences.td | 4 int CodePoint = codePoint;
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 8024 llvm::UTF32 CodePoint; in HandleInvalidConversionSpecifier() local 8029 llvm::convertUTF8Sequence(B, E, &CodePoint, llvm::strictConversion); in HandleInvalidConversionSpecifier() 8033 CodePoint = (llvm::UTF32)FirstChar; in HandleInvalidConversionSpecifier() 8037 if (CodePoint < 256) in HandleInvalidConversionSpecifier() 8038 OS << "\\x" << llvm::format("%02x", CodePoint); in HandleInvalidConversionSpecifier() 8039 else if (CodePoint <= 0xFFFF) in HandleInvalidConversionSpecifier() 8040 OS << "\\u" << llvm::format("%04x", CodePoint); in HandleInvalidConversionSpecifier() 8042 OS << "\\U" << llvm::format("%08x", CodePoint); in HandleInvalidConversionSpecifier()
|