Home
last modified time | relevance | path

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

12

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DImplicitBoolConversionCheck.cpp47 return Type->isUnsignedIntegerType() ? "0u" : "0"; in getZeroLiteralToCompareWithForType()
214 if (DestType->isUnsignedIntegerType()) { in getEquivalentForBoolLiteral()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DConversionChecker.cpp189 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DTooSmallLoopVariableCheck.cpp103 return IntExprType->isUnsignedIntegerType() in calcMagnitudeBits()
/external/clang/lib/Analysis/
DPrintfFormatString.cpp685 if (QT->isUnsignedIntegerType() && !HasPlusPrefix) in fixType()
716 else if (QT->isUnsignedIntegerType()) { in fixType()
DScanfFormatString.cpp509 else if (PT->isUnsignedIntegerType()) in fixType()
/external/llvm-project/clang/lib/AST/
DPrintfFormatString.cpp859 if (QT->isUnsignedIntegerType() && !HasPlusPrefix) in fixType()
890 else if (QT->isUnsignedIntegerType()) { in fixType()
DScanfFormatString.cpp518 else if (PT->isUnsignedIntegerType()) in fixType()
DType.cpp2050 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/
DCanonicalType.h294 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerType)
/external/llvm-project/clang/include/clang/AST/
DCanonicalType.h310 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerType)
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp447 castTy->isUnsignedIntegerType()); in evalIntegralCast()
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp209 !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()
DCGExprComplex.cpp866 if (Op.Ty->castAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { in EmitBinDiv()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp510 castTy->isUnsignedIntegerType()); in evalIntegralCast()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp464 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()
DCGExprComplex.cpp792 if (Op.Ty->castAs<ComplexType>()->getElementType()->isUnsignedIntegerType()) { in EmitBinDiv()
/external/llvm-project/lldb/unittests/Symbol/
DTestTypeSystemClang.cpp190 EXPECT_TRUE(type_ptr->isUnsignedIntegerType()); in VerifyEncodingAndBitSize()
/external/clang/lib/AST/
DType.cpp1746 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()
DASTContext.cpp4808 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
4854 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
4855 bool RHSUnsigned = RHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
DExprConstant.cpp2226 CharType->isUnsignedIntegerType()); in extractStringLiteralCharacter()
2246 CharType->isUnsignedIntegerType()); in expandStringLiteral()
9121 L->getType()->isUnsignedIntegerType())); in FastEvaluateAsRValue()
/external/clang/lib/Sema/
DSemaCast.cpp1700 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
1701 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp1919 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
1920 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
DSemaChecking.cpp1179 !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/
DASTMatchers.h4081 return Node->isUnsignedIntegerType(); in AST_MATCHER()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h5750 return Node->isUnsignedIntegerType(); in AST_MATCHER()

12