Searched refs:CodePoint (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/ |
| H A D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 29 static bool translateCodePointToUTF8(unsigned CodePoint, in translateCodePointToUTF8() argument 33 if (!ConvertCodePointToUTF8(CodePoint, TranslatedPtr)) in translateCodePointToUTF8() 59 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences() local 62 if (!translateCodePointToUTF8(CodePoint, CLiteral)) { in EmitClangCommentHTMLNamedCharacterReferences()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 42 unsigned CodePoint) { in convertCodePointToUTF8() argument 45 if (llvm::ConvertCodePointToUTF8(CodePoint, ResolvedPtr)) in convertCodePointToUTF8() 71 unsigned CodePoint = 0; in resolveHTMLDecimalCharacterReference() local 74 CodePoint *= 10; in resolveHTMLDecimalCharacterReference() 75 CodePoint += Name[i] - '0'; in resolveHTMLDecimalCharacterReference() 77 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLDecimalCharacterReference() 81 unsigned CodePoint = 0; in resolveHTMLHexCharacterReference() local 83 CodePoint *= 16; in resolveHTMLHexCharacterReference() 86 CodePoint += llvm::hexDigitValue(C); in resolveHTMLHexCharacterReference() 88 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLHexCharacterReference()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | Lexer.cpp | 1588 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN() 1608 llvm::UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local 2977 uint32_t CodePoint = 0; in tryReadUCN() local 3002 CodePoint <<= 4; in tryReadUCN() 3003 CodePoint += Value; in tryReadUCN() 3021 return CodePoint; in tryReadUCN() 3035 if (CodePoint == 0x24 || CodePoint == 0x40 || CodePoint == 0x60) in tryReadUCN() 3036 return CodePoint; in tryReadUCN() 3041 if (CodePoint < 0x20 || CodePoint >= 0x7F) in tryReadUCN() 3050 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) { 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()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | CommentHTMLNamedCharacterReferences.td | 4 int CodePoint = codePoint;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 7057 llvm::UTF32 CodePoint; in HandleInvalidConversionSpecifier() local 7062 llvm::convertUTF8Sequence(B, E, &CodePoint, llvm::strictConversion); in HandleInvalidConversionSpecifier() 7066 CodePoint = (llvm::UTF32)FirstChar; in HandleInvalidConversionSpecifier() 7070 if (CodePoint < 256) in HandleInvalidConversionSpecifier() 7071 OS << "\\x" << llvm::format("%02x", CodePoint); in HandleInvalidConversionSpecifier() 7072 else if (CodePoint <= 0xFFFF) in HandleInvalidConversionSpecifier() 7073 OS << "\\u" << llvm::format("%04x", CodePoint); in HandleInvalidConversionSpecifier() 7075 OS << "\\U" << llvm::format("%08x", CodePoint); in HandleInvalidConversionSpecifier()
|