/external/clang/lib/StaticAnalyzer/Checkers/ |
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()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTypes.cpp | 189 bool isBooleanType(Type Ty) { in isBooleanType() function 247 return Ty != IceType_void && !isBooleanType(Ty); in isLoadStoreType()
|
D | IceTypes.h | 92 bool isBooleanType(Type Ty); // scalar or vector
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 105 if (castTy->isBooleanType()) { in evalCastFromNonLoc() 142 if (castTy->isBooleanType()) { in evalCastFromLoc() 467 assert(resultTy->isBooleanType() || in evalBinOpNN() 469 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
|
D | SValBuilder.cpp | 477 if (castTy->isBooleanType()) { in evalCast()
|
D | BugReporterVisitors.cpp | 1484 else if (Ty->isBooleanType()) in VisitConditionVariable()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 180 if (T.isBooleanType() && in getScalarZeroExpressionForType()
|
D | SemaCast.cpp | 1012 if (DestType->isBooleanType()) { in TryStaticCast() 1827 && !SrcType->isBooleanType() in checkIntToPointerCast() 2059 !DestType->isBooleanType(); in TryReinterpretCast() 2315 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast()
|
D | SemaStmtAsm.cpp | 533 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
|
D | SemaOverload.cpp | 218 if (getToType(1)->isBooleanType() && in isPointerConversionToBool() 1533 if (!ToType->isBooleanType()) in IsStandardConversion() 1652 } else if (ToType->isBooleanType() && in IsStandardConversion() 1841 if (FromType->isPromotableIntegerType() && !FromType->isBooleanType() && in IsIntegralPromotion() 1967 if (FromType->isBooleanType() && To->getKind() == BuiltinType::Int) { in IsIntegralPromotion() 5086 SCS.getToType(2)->isBooleanType(); in CheckConvertedConstantConversions()
|
D | SemaTemplate.cpp | 5135 } else if (ParamType->isBooleanType()) { in CheckTemplateArgument() 5165 if (ParamType->isBooleanType()) { in CheckTemplateArgument() 5561 } else if (T->isBooleanType()) { in BuildExpressionFromIntegralTemplateArgument()
|
D | SemaExpr.cpp | 3222 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr() 5878 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat() 6959 if (E->getType()->isBooleanType()) in ExprLooksBoolean() 9563 !LHS.get()->getType()->isBooleanType() && in CheckLogicalOperands() 9573 if ((getLangOpts().Bool && !RHS.get()->getType()->isBooleanType() && in CheckLogicalOperands() 10186 if (S.getLangOpts().CPlusPlus && ResType->isBooleanType()) { in CheckIncrementDecrementOperand()
|
D | SemaCodeComplete.cpp | 6480 (ReturnType->isIntegerType() || ReturnType->isBooleanType())) || in AddObjCKeyValueCompletions() 6483 Property->getType()->isBooleanType())))) { in AddObjCKeyValueCompletions() 7025 ReturnType->isBooleanType())) { in AddObjCKeyValueCompletions()
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 40 return Node->isBooleanType(); in AST_MATCHER()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 753 if (DstType->isBooleanType()) in EmitScalarConversion() 858 if (SrcType->isBooleanType() && TreatBooleanAsSigned) { in EmitScalarConversion() 905 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion() 1073 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr() 1521 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr() 1638 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() 1654 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec() 1692 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec() 2115 if (!type->isBooleanType() && type->isIntegerType() && in EmitCompoundAssignLValue()
|
/external/clang/lib/AST/ |
D | TemplateBase.cpp | 56 if (T->isBooleanType() && !Policy.MSVCFormatting) { in printIntegral()
|
D | APValue.cpp | 350 if (Ty->isBooleanType()) in printPretty()
|
D | ASTDiagnostic.cpp | 1715 if (FromIntType->isBooleanType()) { in PrintAPSInt() 1759 if (IntType->isBooleanType()) { in PrintAPSInt()
|
D | MicrosoftMangle.cpp | 1163 mangleIntegerLiteral(Value, E->getType()->isBooleanType()); in mangleExpression() 1270 TA.getIntegralType()->isBooleanType()); in mangleTemplateArg()
|
D | Expr.cpp | 116 if (E->getType()->isBooleanType()) return true; in isKnownToHaveBooleanValue() 1573 assert(!getType()->isBooleanType() && "unheralded conversion to bool"); in CastConsistency()
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 292 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 257 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
|
D | Type.h | 1629 bool isBooleanType() const; 5746 inline bool Type::isBooleanType() const {
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 1007 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4356 return Node.isBooleanType(); in AST_MATCHER()
|