Home
last modified time | relevance | path

Searched refs:isUnsignedIntegerType (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DImplicitWideningOfMultiplicationResultCheck.cpp121 assert(ETy->isUnsignedIntegerType() && in handleImplicitCastExpr()
125 assert(Ty->isUnsignedIntegerType() && in handleImplicitCastExpr()
H A DTooSmallLoopVariableCheck.cpp102 return IntExprType->isUnsignedIntegerType() in calcMagnitudeBits()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DImplicitBoolConversionCheck.cpp47 return Type->isUnsignedIntegerType() ? "0u" : "0"; in getZeroLiteralToCompareWithForType()
214 if (DestType->isUnsignedIntegerType()) { in getEquivalentForBoolLiteral()
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DSValTest.cpp97 EXPECT_EQ(ExpectedTy->isUnsignedIntegerType(), in expectSameSignAndBitWidth()
98 ActualTy->isUnsignedIntegerType()); in expectSameSignAndBitWidth()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp200 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
/llvm-project-15.0.7/clang/lib/AST/
H A DPrintfFormatString.cpp862 if (QT->isUnsignedIntegerType() && !HasPlusPrefix) in fixType()
893 else if (QT->isUnsignedIntegerType()) { in fixType()
H A DScanfFormatString.cpp518 else if (PT->isUnsignedIntegerType()) in fixType()
H A DType.cpp2068 bool Type::isUnsignedIntegerType() const { in isUnsignedIntegerType() function in Type
2078 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerType()
2097 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerOrEnumerationType()
H A DExprConstant.cpp3001 EltTy->isUnsignedIntegerType()}; in handleVectorVectorBinOp()
3401 CharType->isUnsignedIntegerType()); in extractStringLiteralCharacter()
3424 CharType->isUnsignedIntegerType()); in expandStringLiteral()
10543 ResultTy->isUnsignedIntegerType()}; in handleVectorUnaryOperator()
14907 L->getType()->isUnsignedIntegerType())); in FastEvaluateAsRValue()
H A DASTContext.cpp7080 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
7126 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
7127 bool RHSUnsigned = RHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
H A DExpr.cpp198 if (!Semantic && FD->getType()->isUnsignedIntegerType() && in isKnownToHaveBooleanValue()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h310 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerType)
H A DType.h2427 bool isUnsignedIntegerType() const;
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp205 !LHSTy->isUnsignedIntegerType() || !RHSTy->isUnsignedIntegerType()) in CanElideOverflowCheck()
747 if (Ops.Ty->isUnsignedIntegerType() && in EmitMul()
2542 !(type->isUnsignedIntegerType() && in EmitScalarPrePostIncDec()
2631 } else if (E->canOverflow() && type->isUnsignedIntegerType() && in EmitScalarPrePostIncDec()
3089 !(type->isUnsignedIntegerType() && in EmitCompoundAssignLValue()
3668 if (op.Ty->isUnsignedIntegerType() && in EmitAdd()
3818 if (op.Ty->isUnsignedIntegerType() && in EmitSub()
H A DCGExprComplex.cpp867 if (Op.Ty->castAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { in EmitBinDiv()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp598 castTy->isUnsignedIntegerType()); in evalIntegralCast()
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DTestTypeSystemClang.cpp193 EXPECT_TRUE(type_ptr->isUnsignedIntegerType()); in VerifyEncodingAndBitSize()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp2027 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
2028 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
H A DSemaChecking.cpp1714 !Arg2->getType()->isUnsignedIntegerType()) { in SemaBuiltinRWPipe()
1748 !Call->getArg(1)->getType()->isUnsignedIntegerType()) { in SemaBuiltinReserveRWPipe()
2523 if (EltTy->isUnsignedIntegerType()) { in CheckBuiltinFunctionCall()
10934 if (ArgType->isUnsignedIntegerType()) { in CheckAbsoluteValueFunction()
11018 if (!ArgType->isUnsignedIntegerType()) return; in CheckMaxUnsignedZero()
13936 if (Source->isUnsignedIntegerType()) { in CheckImplicitConversion()
13937 if (Target->isUnsignedIntegerType()) in CheckImplicitConversion()
H A DSemaExpr.cpp884 E = (Ty->isUnsignedIntegerType()) in DefaultArgumentPromotion()
1975 bool CharIsUnsigned = CharTy->isUnsignedIntegerType(); in ActOnStringLiteral()
3851 bool CharIsUnsigned = Context.CharTy->isUnsignedIntegerType(); in ActOnNumericConstant()
16640 PromoteType->isUnsignedIntegerType() != in BuildVAArgExpr()
16641 UnderlyingType->isUnsignedIntegerType()) { in BuildVAArgExpr()
16643 UnderlyingType->isUnsignedIntegerType() in BuildVAArgExpr()
H A DSemaExprCXX.cpp4992 return T->isUnsignedIntegerType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6247 return Node->isUnsignedIntegerType(); in AST_MATCHER()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp2602 const bool is_unsigned = qt->isUnsignedIntegerType(); in ExtractIntFromFormValue()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp4794 return qual_type->isUnsignedIntegerType() ? lldb::eEncodingUint in GetEncoding()
5176 return qual_type->isUnsignedIntegerType() ? lldb::eFormatUnsigned in GetFormat()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp944 bool IntLarger = IntLiteral->getType()->isUnsignedIntegerType() || in checkIncorrectRelationalOperator()

12