| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ImplicitWideningOfMultiplicationResultCheck.cpp | 121 assert(ETy->isUnsignedIntegerType() && in handleImplicitCastExpr() 125 assert(Ty->isUnsignedIntegerType() && in handleImplicitCastExpr()
|
| H A D | TooSmallLoopVariableCheck.cpp | 102 return IntExprType->isUnsignedIntegerType() in calcMagnitudeBits()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ImplicitBoolConversionCheck.cpp | 47 return Type->isUnsignedIntegerType() ? "0u" : "0"; in getZeroLiteralToCompareWithForType() 214 if (DestType->isUnsignedIntegerType()) { in getEquivalentForBoolLiteral()
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | SValTest.cpp | 97 EXPECT_EQ(ExpectedTy->isUnsignedIntegerType(), in expectSameSignAndBitWidth() 98 ActualTy->isUnsignedIntegerType()); in expectSameSignAndBitWidth()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ConversionChecker.cpp | 200 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | PrintfFormatString.cpp | 862 if (QT->isUnsignedIntegerType() && !HasPlusPrefix) in fixType() 893 else if (QT->isUnsignedIntegerType()) { in fixType()
|
| H A D | ScanfFormatString.cpp | 518 else if (PT->isUnsignedIntegerType()) in fixType()
|
| H A D | Type.cpp | 2068 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 D | ExprConstant.cpp | 3001 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 D | ASTContext.cpp | 7080 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType() 7126 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() 7127 bool RHSUnsigned = RHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
|
| H A D | Expr.cpp | 198 if (!Semantic && FD->getType()->isUnsignedIntegerType() && in isKnownToHaveBooleanValue()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 310 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerType)
|
| H A D | Type.h | 2427 bool isUnsignedIntegerType() const;
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 205 !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 D | CGExprComplex.cpp | 867 if (Op.Ty->castAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { in EmitBinDiv()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 598 castTy->isUnsignedIntegerType()); in evalIntegralCast()
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | TestTypeSystemClang.cpp | 193 EXPECT_TRUE(type_ptr->isUnsignedIntegerType()); in VerifyEncodingAndBitSize()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 2027 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast() 2028 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
|
| H A D | SemaChecking.cpp | 1714 !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 D | SemaExpr.cpp | 884 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 D | SemaExprCXX.cpp | 4992 return T->isUnsignedIntegerType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 6247 return Node->isUnsignedIntegerType(); in AST_MATCHER()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 2602 const bool is_unsigned = qt->isUnsignedIntegerType(); in ExtractIntFromFormValue()
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 4794 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 D | CFG.cpp | 944 bool IntLarger = IntLiteral->getType()->isUnsignedIntegerType() || in checkIncorrectRelationalOperator()
|