| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BoolAssignmentChecker.cpp | 45 static bool isBooleanType(QualType Ty) { in isBooleanType() function 46 if (Ty->isBooleanType()) // C++ or C99 in isBooleanType() 69 if (!isBooleanType(RegTy)) in checkBind()
|
| H A D | MoveChecker.cpp | 504 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
|
| H A D | SmartPtrModeling.cpp | 236 return CD && CD->getConversionType()->isBooleanType(); in isBoolConversionMethod()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 672 if (CastTy->isBooleanType()) in VisitConcreteInt() 694 if (CastTy->isBooleanType()) in VisitGotoLabel() 721 if (CastTy->isBooleanType()) { in VisitMemRegionVal() 876 if (CastTy->isBooleanType()) in VisitConcreteInt() 898 if (CastTy->isBooleanType()) in VisitLocAsInteger() 960 if (!IsUnknownOriginalType && CastTy->isBooleanType()) { in VisitSymbolVal()
|
| H A D | SimpleSValBuilder.cpp | 650 assert(resultTy->isBooleanType() || in evalBinOpNN() 652 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
|
| H A D | ExprEngineC.cpp | 1155 if (U->getType()->isBooleanType() && U->isIncrementOp()) in VisitIncrementDecrementOperator()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 60 if (!hasComparison && !RetTy->isBooleanType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 147 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | SMTConv.h | 31 if (Ty->isBooleanType()) in mkSort() 273 if (FromTy->isBooleanType()) { in fromCast() 519 if (Ty->isBooleanType()) in getZeroExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 183 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
| H A D | SemaCast.cpp | 1459 if (DestType->isBooleanType()) { in TryStaticCast() 1491 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast() 2241 && !SrcType->isBooleanType() in checkIntToPointerCast() 2503 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast() 2988 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast() 3170 if (!DestType->isVoidType() && !DestType->isBooleanType() && in CheckCStyleCast() 3269 !DestType->isBooleanType()) { in CheckCStyleCast()
|
| H A D | SemaBoundsSafety.cpp | 167 if (!E->getType()->isIntegerType() || E->getType()->isBooleanType()) { in CheckCountedByAttrOnField()
|
| H A D | SemaHLSL.cpp | 2899 if (ArgTy->isBooleanType() && CheckBoolSelect(&SemaRef, TheCall)) in CheckBuiltinFunctionCall() 2902 if (VTy && VTy->getElementType()->isBooleanType() && in CheckBuiltinFunctionCall() 3200 if (QT->isBooleanType() || QT->isEnumeralType()) in IsTypedResourceElementCompatible() 3217 if (ElTy->isBooleanType()) in IsTypedResourceElementCompatible()
|
| H A D | SemaStmtAsm.cpp | 739 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1128 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck() 1400 if (DstType->isBooleanType() || SrcType->isBooleanType()) in EmitBitfieldConversionCheck() 1491 if (SrcElementType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarCast() 1543 if (DstType->isBooleanType()) in EmitScalarConversion() 1579 if (DstType->isBooleanType()) in EmitScalarConversion() 1787 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1974 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 2742 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 2786 assert(DestTy->isBooleanType() && "Expected dest type to be boolean type"); in VisitCastExpr() 3053 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 274 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
|
| H A D | Type.h | 2521 bool isBooleanType() const; 4286 (T->isRealType() && !T->isBooleanType() && !T->isEnumeralType()); 8507 return cast<ExtVectorType>(CanonicalType)->getElementType()->isBooleanType(); 8843 inline bool Type::isBooleanType() const {
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 76 if (T->isBooleanType()) { in printIntegral()
|
| H A D | ASTDiagnostic.cpp | 1869 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1913 if (IntType->isBooleanType()) { in PrintAPSInt()
|
| H A D | APValue.cpp | 728 if (Ty->isBooleanType()) in printPretty()
|
| H A D | Type.cpp | 2353 return VT->getElementType()->isBooleanType(); in hasBooleanRepresentation() 2356 ET->getDecl()->getIntegerType()->isBooleanType(); in hasBooleanRepresentation() 2360 return isBooleanType(); in hasBooleanRepresentation()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprScalar.cpp | 430 if (isInc && type->isBooleanType()) { in emitScalarPrePostIncDec() 662 if (dstType->isBooleanType()) in emitScalarConversion() 1766 assert(!destTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 636 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 583 if (CE->getType()->isBooleanType() || CE->getType()->isPointerType()) { in handleConstMemberCall()
|
| /freebsd/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 1007 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 988 if (Type->isBooleanType()) { in createValueUnlessSelfReferential()
|