| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BoolAssignmentChecker.cpp | 47 static bool isBooleanType(QualType Ty) { in isBooleanType() function 48 if (Ty->isBooleanType()) // C++ or C99 in isBooleanType() 71 if (!isBooleanType(valTy)) in checkBind()
|
| H A D | ConversionChecker.cpp | 60 if (Cast->getType()->isBooleanType()) in checkPreStmt()
|
| H A D | MoveChecker.cpp | 499 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
|
| H A D | SmartPtrModeling.cpp | 238 return CD && CD->getConversionType()->isBooleanType(); in isBoolConversionMethod()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/boost/ |
| H A D | UseToStringCheck.cpp | 20 !Node.isBooleanType(); in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 664 if (CastTy->isBooleanType()) in VisitLocConcreteInt() 686 if (CastTy->isBooleanType()) in VisitLocGotoLabel() 713 if (CastTy->isBooleanType()) { in VisitLocMemRegionVal() 868 if (CastTy->isBooleanType()) in VisitNonLocConcreteInt() 890 if (CastTy->isBooleanType()) in VisitNonLocLocAsInteger() 952 if (!IsUnknownOriginalType && CastTy->isBooleanType()) { in VisitNonLocSymbolVal()
|
| H A D | SimpleSValBuilder.cpp | 620 assert(resultTy->isBooleanType() || in evalBinOpNN() 622 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | InitVariablesCheck.cpp | 87 else if (TypePtr->isBooleanType()) in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ExpectedTypes.cpp | 27 if (T->isBooleanType()) in toEquivClass()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 67 if (T->isBooleanType()) in classify()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | MultiwayPathsCoveredCheck.cpp | 84 if (T->isBooleanType()) in getNumberOfPossibleValues()
|
| /llvm-project-15.0.7/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() 515 if (Ty->isBooleanType()) in getZeroExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SimplifyBooleanExprCheck.cpp | 124 ImpCast->getSubExpr()->getType()->isBooleanType()) { in needsStaticCast() 137 return !E->getType()->isBooleanType(); in needsStaticCast() 523 if (!BO->getType()->isBooleanType()) in nestedDemorgan() 559 !BinaryOp->getType()->isBooleanType()) in TraverseUnaryOperator()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 179 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
| H A D | SemaCast.cpp | 1329 if (DestType->isBooleanType()) { in TryStaticCast() 1361 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast() 2153 && !SrcType->isBooleanType() in checkIntToPointerCast() 2410 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast() 2828 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast() 3069 !DestType->isBooleanType()) { in CheckCStyleCast()
|
| H A D | SemaStmtAsm.cpp | 690 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1029 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck() 1227 if (SrcElementType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarCast() 1275 if (DstType->isBooleanType()) in EmitScalarConversion() 1311 if (DstType->isBooleanType()) in EmitScalarConversion() 1519 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1706 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 2312 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 2525 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() 2541 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec() 2580 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 273 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 447 if (Type->isBooleanType()) { in createValueUnlessSelfReferential()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 80 if (T->isBooleanType()) { in printIntegral()
|
| H A D | ASTDiagnostic.cpp | 1792 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1836 if (IntType->isBooleanType()) { in PrintAPSInt()
|
| H A D | APValue.cpp | 713 if (Ty->isBooleanType()) in printPretty()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 635 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 1009 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|