| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| D | BoolAssignmentChecker.cpp | 48 static bool isBooleanType(QualType Ty) { in isBooleanType() function 49 if (Ty->isBooleanType()) // C++ or C99 in isBooleanType() 72 if (!isBooleanType(valTy)) in checkBind()
|
| D | ConversionChecker.cpp | 60 if (Cast->getType()->isBooleanType()) in checkPreStmt()
|
| D | MoveChecker.cpp | 499 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
|
| D | SmartPtrModeling.cpp | 239 return CD && CD->getConversionType()->isBooleanType(); in isBoolConversionMethod()
|
| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| D | SValBuilder.cpp | 666 if (CastTy->isBooleanType()) in VisitLocConcreteInt() 688 if (CastTy->isBooleanType()) in VisitLocGotoLabel() 715 if (CastTy->isBooleanType()) { in VisitLocMemRegionVal() 870 if (CastTy->isBooleanType()) in VisitNonLocConcreteInt() 892 if (CastTy->isBooleanType()) in VisitNonLocLocAsInteger() 954 if (!IsUnknownOriginalType && CastTy->isBooleanType()) { in VisitNonLocSymbolVal()
|
| D | SimpleSValBuilder.cpp | 621 assert(resultTy->isBooleanType() || in evalBinOpNN() 623 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
|
| D | ExprEngineC.cpp | 1127 if (U->getType()->isBooleanType() && U->isIncrementOp()) in VisitIncrementDecrementOperator()
|
| D | BugReporterVisitors.cpp | 3254 if (Ty->isBooleanType()) in printValue() 3259 if (Ty->isBooleanType()) in printValue()
|
| /openbsd/src/gnu/llvm/clang/lib/AST/Interp/ |
| D | Context.cpp | 80 if (T->isBooleanType()) in classify()
|
| /openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| 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()
|
| D | SMTConv.h | 29 if (Ty->isBooleanType()) in mkSort() 271 if (FromTy->isBooleanType()) { in fromCast() 517 if (Ty->isBooleanType()) in getZeroExpr()
|
| /openbsd/src/gnu/llvm/clang/lib/Sema/ |
| D | SemaFixItUtils.cpp | 183 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
| D | SemaCast.cpp | 1345 if (DestType->isBooleanType()) { in TryStaticCast() 1377 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast() 2169 && !SrcType->isBooleanType() in checkIntToPointerCast() 2426 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast() 2844 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast() 3012 if (!DestType->isVoidType() && !DestType->isBooleanType() && in CheckCStyleCast() 3116 !DestType->isBooleanType()) { in CheckCStyleCast()
|
| D | SemaStmtAsm.cpp | 696 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
| D | SemaCoroutine.cpp | 447 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
|
| D | SemaOverload.cpp | 235 if (getToType(1)->isBooleanType() && in isPointerConversionToBool() 1841 if (!ToType->isBooleanType()) in IsStandardConversion() 1955 } else if (ToType->isBooleanType() && in IsStandardConversion() 2182 if (Context.isPromotableIntegerType(FromType) && !FromType->isBooleanType() && in IsIntegralPromotion() 2322 if (FromType->isBooleanType() && To->getKind() == BuiltinType::Int) { in IsIntegralPromotion() 5734 SCS.getToType(2)->isBooleanType(); in CheckConvertedConstantConversions() 13919 !FnDecl->getReturnType()->isBooleanType()) { in CreateOverloadedBinOp()
|
| D | SemaChecking.cpp | 296 return Ty->isIntegerType() && !Ty->isEnumeralType() && !Ty->isBooleanType(); in SemaBuiltinAlignment() 13020 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison() 13266 if (BitfieldType->isBooleanType()) in AnalyzeBitFieldAssignment() 13981 if (S.SourceMgr.isInSystemMacro(CC) || Target->isBooleanType()) in CheckImplicitConversion() 14071 if (Target->isBooleanType() && isa<CallExpr>(E)) { in CheckImplicitConversion() 14080 InnerE->getType()->isBooleanType()) { in CheckImplicitConversion() 14207 if (Target->isBooleanType()) in CheckImplicitConversion() 14380 if (T->isBooleanType()) in CheckConditionalOperator() 14454 << OrigE->getSourceRange() << T->isBooleanType() in AnalyzeImplicitConversions()
|
| /openbsd/src/gnu/llvm/clang/lib/CodeGen/ |
| D | CGExprScalar.cpp | 1058 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck() 1256 if (SrcElementType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarCast() 1304 if (DstType->isBooleanType()) in EmitScalarConversion() 1340 if (DstType->isBooleanType()) in EmitScalarConversion() 1548 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1728 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 2335 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 2373 assert(DestTy->isBooleanType() && "Expected dest type to be boolean type"); in VisitCastExpr() 2548 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() 2564 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec() [all …]
|
| /openbsd/src/gnu/llvm/clang/include/clang/AST/ |
| D | CanonicalType.h | 273 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
|
| D | Type.h | 2109 bool isBooleanType() const; 3576 (T->isRealType() && !T->isBooleanType() && !T->isEnumeralType()); 7007 return cast<ExtVectorType>(CanonicalType)->getElementType()->isBooleanType(); 7307 inline bool Type::isBooleanType() const {
|
| /openbsd/src/gnu/llvm/clang/lib/AST/ |
| D | TemplateBase.cpp | 80 if (T->isBooleanType()) { in printIntegral()
|
| D | ASTDiagnostic.cpp | 1807 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1851 if (IntType->isBooleanType()) { in PrintAPSInt()
|
| D | APValue.cpp | 713 if (Ty->isBooleanType()) in printPretty()
|
| /openbsd/src/gnu/llvm/clang/lib/Analysis/ |
| D | BodyFarm.cpp | 636 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
| /openbsd/src/gnu/llvm/clang/lib/Edit/ |
| D | RewriteObjCFoundationAPI.cpp | 1010 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|