| /freebsd-14.2/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(valTy)) in checkBind()
|
| H A D | ConversionChecker.cpp | 60 if (Cast->getType()->isBooleanType()) in checkPreStmt()
|
| H A D | MoveChecker.cpp | 501 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
|
| H A D | SmartPtrModeling.cpp | 239 return CD && CD->getConversionType()->isBooleanType(); in isBoolConversionMethod()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 671 if (CastTy->isBooleanType()) in VisitConcreteInt() 693 if (CastTy->isBooleanType()) in VisitGotoLabel() 720 if (CastTy->isBooleanType()) { in VisitMemRegionVal() 875 if (CastTy->isBooleanType()) in VisitConcreteInt() 897 if (CastTy->isBooleanType()) in VisitLocAsInteger() 959 if (!IsUnknownOriginalType && CastTy->isBooleanType()) { in VisitSymbolVal()
|
| H A D | SimpleSValBuilder.cpp | 648 assert(resultTy->isBooleanType() || in evalBinOpNN() 650 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
|
| H A D | ExprEngineC.cpp | 1113 if (U->getType()->isBooleanType() && U->isIncrementOp()) in VisitIncrementDecrementOperator()
|
| H A D | BugReporterVisitors.cpp | 3272 if (Ty->isBooleanType()) in printValue() 3277 if (Ty->isBooleanType()) in printValue()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 56 if (!hasComparison && !RetTy->isBooleanType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 143 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() 517 if (Ty->isBooleanType()) in getZeroExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 183 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
| H A D | SemaCast.cpp | 1376 if (DestType->isBooleanType()) { in TryStaticCast() 1408 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast() 2200 && !SrcType->isBooleanType() in checkIntToPointerCast() 2463 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast() 2890 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast() 3072 if (!DestType->isVoidType() && !DestType->isBooleanType() && in CheckCStyleCast() 3162 !DestType->isBooleanType()) { in CheckCStyleCast()
|
| H A D | SemaStmtAsm.cpp | 698 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
| H A D | SemaCoroutine.cpp | 532 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
|
| H A D | SemaChecking.cpp | 298 return Ty->isIntegerType() && !Ty->isEnumeralType() && !Ty->isBooleanType(); in SemaBuiltinAlignment() 14760 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison() 15007 if (BitfieldType->isBooleanType()) in AnalyzeBitFieldAssignment() 15729 if (S.SourceMgr.isInSystemMacro(CC) || Target->isBooleanType()) in CheckImplicitConversion() 15819 if (Target->isBooleanType() && isa<CallExpr>(E)) { in CheckImplicitConversion() 15828 InnerE->getType()->isBooleanType()) { in CheckImplicitConversion() 15956 if (Target->isBooleanType()) in CheckImplicitConversion() 16138 if (T->isBooleanType()) in CheckConditionalOperator() 16212 << OrigE->getSourceRange() << T->isBooleanType() in AnalyzeImplicitConversions()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 136 if (T->isBooleanType()) in classify()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1066 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck() 1264 if (SrcElementType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarCast() 1312 if (DstType->isBooleanType()) in EmitScalarConversion() 1348 if (DstType->isBooleanType()) in EmitScalarConversion() 1556 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1736 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 2351 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 2564 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() 2580 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec() 2619 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() [all …]
|
| /freebsd-14.2/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 | 2222 bool isBooleanType() const; 3693 (T->isRealType() && !T->isBooleanType() && !T->isEnumeralType()); 7197 return cast<ExtVectorType>(CanonicalType)->getElementType()->isBooleanType(); 7489 inline bool Type::isBooleanType() const {
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 80 if (T->isBooleanType()) { in printIntegral()
|
| H A D | ASTDiagnostic.cpp | 1808 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1852 if (IntType->isBooleanType()) { in PrintAPSInt()
|
| H A D | APValue.cpp | 715 if (Ty->isBooleanType()) in printPretty()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 636 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 1010 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 869 if (Type->isBooleanType()) { in createValueUnlessSelfReferential()
|