/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | ImplicitBoolConversionCheck.cpp | 47 return Type->isUnsignedIntegerType() ? "0u" : "0"; in getZeroLiteralToCompareWithForType() 214 if (DestType->isUnsignedIntegerType()) { in getEquivalentForBoolLiteral()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | ConversionChecker.cpp | 189 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | TooSmallLoopVariableCheck.cpp | 103 return IntExprType->isUnsignedIntegerType() in calcMagnitudeBits()
|
/external/clang/lib/Analysis/ |
D | PrintfFormatString.cpp | 685 if (QT->isUnsignedIntegerType() && !HasPlusPrefix) in fixType() 716 else if (QT->isUnsignedIntegerType()) { in fixType()
|
D | ScanfFormatString.cpp | 509 else if (PT->isUnsignedIntegerType()) in fixType()
|
/external/llvm-project/clang/lib/AST/ |
D | PrintfFormatString.cpp | 859 if (QT->isUnsignedIntegerType() && !HasPlusPrefix) in fixType() 890 else if (QT->isUnsignedIntegerType()) { in fixType()
|
D | ScanfFormatString.cpp | 518 else if (PT->isUnsignedIntegerType()) in fixType()
|
D | Type.cpp | 2050 bool Type::isUnsignedIntegerType() const { in isUnsignedIntegerType() function in Type 2060 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerType() 2077 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerOrEnumerationType()
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 294 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerType)
|
/external/llvm-project/clang/include/clang/AST/ |
D | CanonicalType.h | 310 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerType)
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 447 castTy->isUnsignedIntegerType()); in evalIntegralCast()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 209 !LHSTy->isUnsignedIntegerType() || !RHSTy->isUnsignedIntegerType()) in CanElideOverflowCheck() 739 if (Ops.Ty->isUnsignedIntegerType() && in EmitMul() 2398 !(type->isUnsignedIntegerType() && in EmitScalarPrePostIncDec() 2487 } else if (E->canOverflow() && type->isUnsignedIntegerType() && in EmitScalarPrePostIncDec() 2939 !(type->isUnsignedIntegerType() && in EmitCompoundAssignLValue() 3496 if (op.Ty->isUnsignedIntegerType() && in EmitAdd() 3645 if (op.Ty->isUnsignedIntegerType() && in EmitSub()
|
D | CGExprComplex.cpp | 866 if (Op.Ty->castAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { in EmitBinDiv()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 510 castTy->isUnsignedIntegerType()); in evalIntegralCast()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 464 if (Ops.Ty->isUnsignedIntegerType() && in EmitMul() 1655 !(type->isUnsignedIntegerType() && in EmitScalarPrePostIncDec() 1703 } else if (CanOverflow && type->isUnsignedIntegerType() && in EmitScalarPrePostIncDec() 2116 !(type->isUnsignedIntegerType() && in EmitCompoundAssignLValue() 2589 if (op.Ty->isUnsignedIntegerType() && in EmitAdd() 2620 if (op.Ty->isUnsignedIntegerType() && in EmitSub()
|
D | CGExprComplex.cpp | 792 if (Op.Ty->castAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { in EmitBinDiv()
|
/external/llvm-project/lldb/unittests/Symbol/ |
D | TestTypeSystemClang.cpp | 190 EXPECT_TRUE(type_ptr->isUnsignedIntegerType()); in VerifyEncodingAndBitSize()
|
/external/clang/lib/AST/ |
D | Type.cpp | 1746 bool Type::isUnsignedIntegerType() const { in isUnsignedIntegerType() function in Type 1756 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerType() 1770 return ET->getDecl()->getIntegerType()->isUnsignedIntegerType(); in isUnsignedIntegerOrEnumerationType()
|
D | ASTContext.cpp | 4808 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType() 4854 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() 4855 bool RHSUnsigned = RHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
|
D | ExprConstant.cpp | 2226 CharType->isUnsignedIntegerType()); in extractStringLiteralCharacter() 2246 CharType->isUnsignedIntegerType()); in expandStringLiteral() 9121 L->getType()->isUnsignedIntegerType())); in FastEvaluateAsRValue()
|
/external/clang/lib/Sema/ |
D | SemaCast.cpp | 1700 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast() 1701 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCast.cpp | 1919 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast() 1920 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
|
D | SemaChecking.cpp | 1179 !Arg2->getType()->isUnsignedIntegerType()) { in SemaBuiltinRWPipe() 1213 !Call->getArg(1)->getType()->isUnsignedIntegerType()) { in SemaBuiltinReserveRWPipe() 9451 if (ArgType->isUnsignedIntegerType()) { in CheckAbsoluteValueFunction() 9535 if (!ArgType->isUnsignedIntegerType()) return; in CheckMaxUnsignedZero() 12333 if (Source->isUnsignedIntegerType()) { in CheckImplicitConversion() 12334 if (Target->isUnsignedIntegerType()) in CheckImplicitConversion()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4081 return Node->isUnsignedIntegerType(); in AST_MATCHER()
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 5750 return Node->isUnsignedIntegerType(); in AST_MATCHER()
|