Home
last modified time | relevance | path

Searched refs:UnsignedChar (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/test/AST/
H A Dmultistep-explicit-cast-json.cpp57 using UnsignedChar = unsigned char; typedef
62 UnsignedChar cxxfunctionalcast_0(UnsignedInt x) { in cxxfunctionalcast_0()
63 return UnsignedChar(x); in cxxfunctionalcast_0()
70 UnsignedChar cxxfunctionalcast_2(SignedInt x) { in cxxfunctionalcast_2()
71 return UnsignedChar(x); in cxxfunctionalcast_2()
H A Dmultistep-explicit-cast.cpp123 using UnsignedChar = unsigned char; typedef
128 UnsignedChar cxxfunctionalcast_0(UnsignedInt x) { in cxxfunctionalcast_0()
134 return UnsignedChar(x); in cxxfunctionalcast_0()
146 UnsignedChar cxxfunctionalcast_2(SignedInt x) { in cxxfunctionalcast_2()
152 return UnsignedChar(x); in cxxfunctionalcast_2()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dcatch-implicit-integer-truncations.cpp104 using UnsignedChar = unsigned char; typedef
113 return UnsignedChar(src); in explicit_functional_unsigned_int_to_unsigned_char()
120 return UnsignedChar(src); in explicit_functional_signed_int_to_unsigned_char()
158 return UnsignedChar(src); in explicit_functional_unsigned_char_to_signed_char()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-swift_bridged_typedef.m13 typedef unsigned char UnsignedChar __attribute__((__swift_bridged_typedef__("UnsignedChar")));
/llvm-project-15.0.7/clang/lib/Basic/
H A DTargetInfo.cpp185 case UnsignedChar: return "unsigned char"; in getTypeName()
207 case UnsignedChar: in getTypeConstantSuffix()
228 case UnsignedChar: return "hh"; in getTypeFormatModifier()
246 case UnsignedChar: return getCharWidth(); in getTypeWidth()
261 return IsSigned ? SignedChar : UnsignedChar; in getIntTypeByWidth()
276 return IsSigned ? SignedChar : UnsignedChar; in getLeastIntTypeByWidth()
328 case UnsignedChar: return getCharAlign(); in getTypeAlign()
351 case UnsignedChar: in isTypeSigned()
371 case 1: WCharType = Opts.WCharIsSigned ? SignedChar : UnsignedChar; break; in adjust()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-printers.cc145 template <typename UnsignedChar, typename Char>
186 << static_cast<int>(static_cast<UnsignedChar>(c)); in PrintAsCharLiteralTo()
220 template <typename UnsignedChar, typename Char>
224 const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os); in PrintCharAndCodeTo()
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DXCore.h37 WCharType = UnsignedChar; in XCoreTargetInfo()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetInfo.h123 UnsignedChar, enumerator
372 return UnsignedChar; in getCorrespondingUnsignedType()
/llvm-project-15.0.7/flang/runtime/
H A Dio-stmt.cpp488 using UnsignedChar = std::make_unsigned_t<CHAR>; in EmitEncoded() typedef
489 const UnsignedChar *data{reinterpret_cast<const UnsignedChar *>(data0)}; in EmitEncoded()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp1072 DefineExactWidthIntType(TargetInfo::UnsignedChar, TI, Builder); in InitializePredefinedMacros()
1073 DefineExactWidthIntTypeSize(TargetInfo::UnsignedChar, TI, Builder); in InitializePredefinedMacros()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp9207 case TargetInfo::UnsignedChar: return UnsignedCharTy; in getFromTargetType()