Home
last modified time | relevance | path

Searched refs:isBooleanType (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DBoolAssignmentChecker.cpp42 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/
DIceTypes.cpp189 bool isBooleanType(Type Ty) { in isBooleanType() function
247 return Ty != IceType_void && !isBooleanType(Ty); in isLoadStoreType()
DIceTypes.h92 bool isBooleanType(Type Ty); // scalar or vector
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp105 if (castTy->isBooleanType()) { in evalCastFromNonLoc()
142 if (castTy->isBooleanType()) { in evalCastFromLoc()
467 assert(resultTy->isBooleanType() || in evalBinOpNN()
469 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
DSValBuilder.cpp477 if (castTy->isBooleanType()) { in evalCast()
DBugReporterVisitors.cpp1484 else if (Ty->isBooleanType()) in VisitConditionVariable()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp180 if (T.isBooleanType() && in getScalarZeroExpressionForType()
DSemaCast.cpp1012 if (DestType->isBooleanType()) { in TryStaticCast()
1827 && !SrcType->isBooleanType() in checkIntToPointerCast()
2059 !DestType->isBooleanType(); in TryReinterpretCast()
2315 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast()
DSemaStmtAsm.cpp533 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
DSemaOverload.cpp218 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()
DSemaTemplate.cpp5135 } else if (ParamType->isBooleanType()) { in CheckTemplateArgument()
5165 if (ParamType->isBooleanType()) { in CheckTemplateArgument()
5561 } else if (T->isBooleanType()) { in BuildExpressionFromIntegralTemplateArgument()
DSemaExpr.cpp3222 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()
DSemaCodeComplete.cpp6480 (ReturnType->isIntegerType() || ReturnType->isBooleanType())) || in AddObjCKeyValueCompletions()
6483 Property->getType()->isBooleanType())))) { in AddObjCKeyValueCompletions()
7025 ReturnType->isBooleanType())) { in AddObjCKeyValueCompletions()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp40 return Node->isBooleanType(); in AST_MATCHER()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp753 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/
DTemplateBase.cpp56 if (T->isBooleanType() && !Policy.MSVCFormatting) { in printIntegral()
DAPValue.cpp350 if (Ty->isBooleanType()) in printPretty()
DASTDiagnostic.cpp1715 if (FromIntType->isBooleanType()) { in PrintAPSInt()
1759 if (IntType->isBooleanType()) { in PrintAPSInt()
DMicrosoftMangle.cpp1163 mangleIntegerLiteral(Value, E->getType()->isBooleanType()); in mangleExpression()
1270 TA.getIntegralType()->isBooleanType()); in mangleTemplateArg()
DExpr.cpp116 if (E->getType()->isBooleanType()) return true; in isKnownToHaveBooleanValue()
1573 assert(!getType()->isBooleanType() && "unheralded conversion to bool"); in CastConsistency()
/external/clang/lib/Analysis/
DBodyFarm.cpp292 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
/external/clang/include/clang/AST/
DCanonicalType.h257 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
DType.h1629 bool isBooleanType() const;
5746 inline bool Type::isBooleanType() const {
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1007 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4356 return Node.isBooleanType(); in AST_MATCHER()

12