Home
last modified time | relevance | path

Searched refs:SignedChar (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/test/AST/
H A Dmultistep-explicit-cast-json.cpp58 using SignedChar = signed char; typedef
66 SignedChar cxxfunctionalcast_1(UnsignedInt x) { in cxxfunctionalcast_1()
67 return SignedChar(x); in cxxfunctionalcast_1()
74 SignedChar cxxfunctionalcast_3(SignedInt x) { in cxxfunctionalcast_3()
75 return SignedChar(x); in cxxfunctionalcast_3()
H A Dmultistep-explicit-cast.cpp124 using SignedChar = signed char; typedef
137 SignedChar cxxfunctionalcast_1(UnsignedInt x) { in cxxfunctionalcast_1()
143 return SignedChar(x); in cxxfunctionalcast_1()
155 SignedChar cxxfunctionalcast_3(SignedInt x) { in cxxfunctionalcast_3()
161 return SignedChar(x); in cxxfunctionalcast_3()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dcatch-implicit-integer-truncations.cpp105 using SignedChar = signed char; typedef
127 return SignedChar(src); in explicit_functional_unsigned_int_to_signed_char()
134 return SignedChar(src); in explicit_functional_signed_int_to_signed_char()
165 return SignedChar(src); in explicit_functional_signed_char_to_signed_char()
/llvm-project-15.0.7/clang/lib/Basic/
H A DTargetInfo.cpp184 case SignedChar: return "signed char"; in getTypeName()
202 case SignedChar: in getTypeConstantSuffix()
227 case SignedChar: in getTypeFormatModifier()
245 case SignedChar: in getTypeWidth()
261 return IsSigned ? SignedChar : UnsignedChar; in getIntTypeByWidth()
276 return IsSigned ? SignedChar : UnsignedChar; in getLeastIntTypeByWidth()
327 case SignedChar: in getTypeAlign()
345 case SignedChar: in isTypeSigned()
371 case 1: WCharType = Opts.WCharIsSigned ? SignedChar : UnsignedChar; break; in adjust()
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dabs.pass.cpp52 >::type SignedChar; in main() typedef
56 test_abs<SignedChar, int>(); in main()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dsigned-char-misuse-funsigned-char.cpp4 int SignedChar() { in SignedChar() function
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DAVR.h57 SigAtomicType = SignedChar; in AVRTargetInfo()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetInfo.h122 SignedChar, enumerator
371 case SignedChar: in getCorrespondingUnsignedType()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp968 DefineTypeSize("__SCHAR_MAX__", TargetInfo::SignedChar, TI, Builder); in InitializePredefinedMacros()
1058 DefineExactWidthIntType(TargetInfo::SignedChar, TI, Builder); in InitializePredefinedMacros()
1074 DefineExactWidthIntTypeSize(TargetInfo::SignedChar, TI, Builder); in InitializePredefinedMacros()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp9206 case TargetInfo::SignedChar: return SignedCharTy; in getFromTargetType()