| /src/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(RegTy)) 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()
|
| /src/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 | 1115 if (U->getType()->isBooleanType() && U->isIncrementOp()) in VisitIncrementDecrementOperator()
|
| H A D | BugReporterVisitors.cpp | 3286 if (Ty->isBooleanType()) in printValue() 3291 if (Ty->isBooleanType()) in printValue()
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 59 if (!hasComparison && !RetTy->isBooleanType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE() 146 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()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBoundsSafety.cpp | 138 if (!E->getType()->isIntegerType() || E->getType()->isBooleanType()) { in CheckCountedByAttrOnField()
|
| H A D | SemaFixItUtils.cpp | 183 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
| H A D | SemaCast.cpp | 1384 if (DestType->isBooleanType()) { in TryStaticCast() 1416 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast() 2209 && !SrcType->isBooleanType() in checkIntToPointerCast() 2472 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast() 2900 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast() 3082 if (!DestType->isVoidType() && !DestType->isBooleanType() && in CheckCStyleCast() 3172 !DestType->isBooleanType()) { in CheckCStyleCast()
|
| H A D | SemaStmtAsm.cpp | 698 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
| H A D | SemaChecking.cpp | 328 return Ty->isIntegerType() && !Ty->isEnumeralType() && !Ty->isBooleanType(); in BuiltinAlignment() 9987 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison() 10234 if (BitfieldType->isBooleanType()) in AnalyzeBitFieldAssignment() 10842 if (SourceMgr.isInSystemMacro(CC) || Target->isBooleanType()) in CheckImplicitConversion() 10933 if (Target->isBooleanType() && isa<CallExpr>(E)) { in CheckImplicitConversion() 10942 InnerE->getType()->isBooleanType()) { in CheckImplicitConversion() 11069 if (Target->isBooleanType()) in CheckImplicitConversion() 11243 if (T->isBooleanType()) in CheckConditionalOperator() 11320 << OrigE->getSourceRange() << T->isBooleanType() in AnalyzeImplicitConversions()
|
| /src/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 128 if (T->isBooleanType()) in classify()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1088 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck() 1326 if (DstType->isBooleanType() || SrcType->isBooleanType()) in EmitBitfieldConversionCheck() 1416 if (SrcElementType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarCast() 1464 if (DstType->isBooleanType()) in EmitScalarConversion() 1500 if (DstType->isBooleanType()) in EmitScalarConversion() 1708 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1894 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 2534 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 2573 assert(DestTy->isBooleanType() && "Expected dest type to be boolean type"); in VisitCastExpr() 2804 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() [all …]
|
| /src/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 | 2468 bool isBooleanType() const; 4176 (T->isRealType() && !T->isBooleanType() && !T->isEnumeralType()); 8118 return cast<ExtVectorType>(CanonicalType)->getElementType()->isBooleanType(); 8426 inline bool Type::isBooleanType() const {
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 80 if (T->isBooleanType()) { in printIntegral()
|
| H A D | ASTDiagnostic.cpp | 1830 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1874 if (IntType->isBooleanType()) { in PrintAPSInt()
|
| H A D | APValue.cpp | 718 if (Ty->isBooleanType()) in printPretty()
|
| /src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 636 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
| /src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 989 if (Type->isBooleanType()) { in createValueUnlessSelfReferential()
|
| /src/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 1007 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|