| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BoolAssignmentChecker.cpp | 43 static bool isBooleanType(QualType Ty) { in isBooleanType() function 44 if (Ty->isBooleanType()) // C++ or C99 in isBooleanType() 67 if (!isBooleanType(valTy)) in checkBind()
|
| H A D | MoveChecker.cpp | 500 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
|
| H A D | SmartPtrModeling.cpp | 241 return CD && CD->getConversionType()->isBooleanType(); in isBoolConversionMethod()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 657 if (CastTy->isBooleanType()) in evalCastSubKind() 678 if (CastTy->isBooleanType()) in evalCastSubKind() 712 if (CastTy->isBooleanType()) { in evalCastSubKind() 869 if (CastTy->isBooleanType()) in evalCastSubKind() 895 if (CastTy->isBooleanType()) in evalCastSubKind() 959 if (!IsUnknownOriginalType && CastTy->isBooleanType()) { in evalCastSubKind()
|
| H A D | SimpleSValBuilder.cpp | 577 assert(resultTy->isBooleanType() || in evalBinOpNN() 579 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
|
| H A D | ExprEngineC.cpp | 1123 if (U->getType()->isBooleanType() && U->isIncrementOp()) in VisitIncrementDecrementOperator()
|
| H A D | BugReporterVisitors.cpp | 2997 if (Ty->isBooleanType()) in printValue() 3002 if (Ty->isBooleanType()) in printValue()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 67 if (T->isBooleanType()) in classify()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 55 if (!hasComparison && !RetTy->isBooleanType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 142 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | SMTConv.h | 29 if (Ty->isBooleanType()) in mkSort() 271 if (FromTy->isBooleanType()) { in fromCast() 493 if (Ty->isBooleanType()) in getZeroExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 179 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
| H A D | SemaCast.cpp | 1327 if (DestType->isBooleanType()) { in TryStaticCast() 1359 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast() 2151 && !SrcType->isBooleanType() in checkIntToPointerCast() 2408 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast() 2807 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast() 3044 !DestType->isBooleanType()) { in CheckCStyleCast()
|
| H A D | SemaStmtAsm.cpp | 680 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
| H A D | SemaChecking.cpp | 219 return Ty->isIntegerType() && !Ty->isEnumeralType() && !Ty->isBooleanType(); in SemaBuiltinAlignment() 11658 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison() 11902 if (BitfieldType->isBooleanType()) in AnalyzeBitFieldAssignment() 11919 if (Bitfield->getType()->isBooleanType()) in AnalyzeBitFieldAssignment() 12610 if (S.SourceMgr.isInSystemMacro(CC) || Target->isBooleanType()) in CheckImplicitConversion() 12677 if (Target->isBooleanType() && isa<CallExpr>(E)) { in CheckImplicitConversion() 12686 InnerE->getType()->isBooleanType()) { in CheckImplicitConversion() 12813 if (Target->isBooleanType()) in CheckImplicitConversion() 12985 if (T->isBooleanType()) in CheckConditionalOperator() 13059 << OrigE->getSourceRange() << T->isBooleanType() in AnalyzeImplicitConversions()
|
| H A D | SemaCoroutine.cpp | 474 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
|
| H A D | SemaOverload.cpp | 232 if (getToType(1)->isBooleanType() && in isPointerConversionToBool() 1728 if (!ToType->isBooleanType()) in IsStandardConversion() 1849 } else if (ToType->isBooleanType() && in IsStandardConversion() 2074 if (FromType->isPromotableIntegerType() && !FromType->isBooleanType() && in IsIntegralPromotion() 2214 if (FromType->isBooleanType() && To->getKind() == BuiltinType::Int) { in IsIntegralPromotion() 5575 SCS.getToType(2)->isBooleanType(); in CheckConvertedConstantConversions() 13595 !FnDecl->getReturnType()->isBooleanType()) { in CreateOverloadedBinOp()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1027 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck() 1225 if (SrcElementType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarCast() 1262 if (DstType->isBooleanType()) in EmitScalarConversion() 1298 if (DstType->isBooleanType()) in EmitScalarConversion() 1506 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1692 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 2254 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 2466 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() 2482 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec() 2521 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 273 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
|
| H A D | Type.h | 1974 bool isBooleanType() const; 3436 (T->isRealType() && !T->isBooleanType() && !T->isEnumeralType()); 7070 inline bool Type::isBooleanType() const {
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 78 if (T->isBooleanType()) { in printIntegral()
|
| H A D | ASTDiagnostic.cpp | 1757 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1801 if (IntType->isBooleanType()) { in PrintAPSInt()
|
| H A D | APValue.cpp | 650 if (Ty->isBooleanType()) in printPretty()
|
| H A D | ASTContext.cpp | 3890 if (!EltTy->isBooleanType() && \ in getScalableVectorType() 3901 if (EltTy->isBooleanType() && NumElts == NumEls) \ in getScalableVectorType() 3908 if (!EltTy->isBooleanType() && \ in getScalableVectorType() 3915 if (EltTy->isBooleanType() && NumElts == NumEls) \ in getScalableVectorType() 10135 if (T->isBooleanType()) in getIntWidth()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 606 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 1009 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|