| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BoolAssignmentChecker.cpp | 42 static bool isBooleanType(QualType Ty) { in isBooleanType() function 43 if (Ty->isBooleanType()) // C++ or C99 in isBooleanType() 66 if (!isBooleanType(valTy)) in checkBind()
|
| H A D | MoveChecker.cpp | 487 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 49 if (!hasComparison && !RetTy->isBooleanType()) in assumeSym() 137 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in getSymVal()
|
| H A D | SMTConv.h | 30 if (Ty->isBooleanType()) in mkSort() 268 if (FromTy->isBooleanType()) { in fromCast() 477 if (Ty->isBooleanType()) in getZeroExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 112 if (castTy->isBooleanType()) { in evalCastFromNonLoc() 149 if (castTy->isBooleanType()) { in evalCastFromLoc() 694 assert(resultTy->isBooleanType() || in evalBinOpNN() 696 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
|
| H A D | SValBuilder.cpp | 532 if (castTy->isBooleanType()) { in evalCast()
|
| H A D | ExprEngineC.cpp | 1082 if (U->getType()->isBooleanType() && U->isIncrementOp()) in VisitIncrementDecrementOperator()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 180 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
| H A D | SemaCast.cpp | 1131 if (DestType->isBooleanType()) { in TryStaticCast() 1939 && !SrcType->isBooleanType() in checkIntToPointerCast() 2174 !DestType->isBooleanType(); in TryReinterpretCast() 2459 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast()
|
| H A D | SemaStmtAsm.cpp | 638 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
| H A D | SemaCoroutine.cpp | 476 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
|
| H A D | SemaOverload.cpp | 224 if (getToType(1)->isBooleanType() && in isPointerConversionToBool() 1662 if (!ToType->isBooleanType()) in IsStandardConversion() 1783 } else if (ToType->isBooleanType() && in IsStandardConversion() 1997 if (FromType->isPromotableIntegerType() && !FromType->isBooleanType() && in IsIntegralPromotion() 2136 if (FromType->isBooleanType() && To->getKind() == BuiltinType::Int) { in IsIntegralPromotion() 5353 SCS.getToType(2)->isBooleanType(); in CheckConvertedConstantConversions()
|
| H A D | SemaExpr.cpp | 3242 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr() 6284 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat() 7371 if (E->getType()->isBooleanType()) in ExprLooksBoolean() 10156 if (LHSStrippedType->isBooleanType() != RHSStrippedType->isBooleanType()) { in checkArithmeticOrEnumeralThreeWayCompare() 10841 !LHS.get()->getType()->isBooleanType() && in CheckLogicalOperands() 10852 if ((getLangOpts().Bool && !RHS.get()->getType()->isBooleanType() && in CheckLogicalOperands() 11596 if (S.getLangOpts().CPlusPlus && ResType->isBooleanType()) { in CheckIncrementDecrementOperand()
|
| H A D | SemaChecking.cpp | 10138 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison() 10333 if (BitfieldType->isBooleanType()) in AnalyzeBitFieldAssignment() 10350 if (Bitfield->getType()->isBooleanType()) in AnalyzeBitFieldAssignment() 10931 if (S.SourceMgr.isInSystemMacro(CC) || Target->isBooleanType()) in CheckImplicitConversion() 10997 if (Target->isBooleanType() && isa<CallExpr>(E)) { in CheckImplicitConversion() 11006 InnerE->getType()->isBooleanType()) { in CheckImplicitConversion()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1022 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck() 1210 } else if (DstType->isBooleanType()) { in EmitScalarConversion() 1235 if (DstType->isBooleanType()) in EmitScalarConversion() 1377 if (SrcType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarConversion() 1510 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1678 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 2166 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 2333 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() 2349 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec() 2387 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 71 if (T->isBooleanType() && !Policy.MSVCFormatting) { in printIntegral()
|
| H A D | APValue.cpp | 392 if (Ty->isBooleanType()) in printPretty()
|
| H A D | ASTDiagnostic.cpp | 1738 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1782 if (IntType->isBooleanType()) { in PrintAPSInt()
|
| H A D | MicrosoftMangle.cpp | 1333 mangleIntegerLiteral(Value, E->getType()->isBooleanType()); in mangleExpression() 1448 TA.getIntegralType()->isBooleanType()); in mangleTemplateArg()
|
| H A D | Expr.cpp | 138 if (E->getType()->isBooleanType()) return true; in isKnownToHaveBooleanValue() 1720 assert(!getType()->isBooleanType() && "unheralded conversion to bool"); in CastConsistency()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 272 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
|
| H A D | Type.h | 1910 bool isBooleanType() const; 6657 inline bool Type::isBooleanType() const {
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 605 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 1010 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5134 return Node.isBooleanType(); in AST_MATCHER()
|