Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp43 static bool isBooleanType(QualType Ty) { in isBooleanType() function
44 if (Ty->isBooleanType()) // C++ or C99 in isBooleanType()
67 if (!isBooleanType(valTy)) in checkBind()
H A DSmartPtrModeling.cpp175 return CD && CD->getConversionType()->isBooleanType(); in isBoolConversionMethod()
H A DMoveChecker.cpp500 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp643 if (CastTy->isBooleanType()) in evalCastSubKind()
664 if (CastTy->isBooleanType()) in evalCastSubKind()
698 if (CastTy->isBooleanType()) { in evalCastSubKind()
841 if (CastTy->isBooleanType()) in evalCastSubKind()
867 if (CastTy->isBooleanType()) in evalCastSubKind()
931 if (!IsUnknownOriginalType && CastTy->isBooleanType()) { in evalCastSubKind()
H A DSimpleSValBuilder.cpp577 assert(resultTy->isBooleanType() || in evalBinOpNN()
579 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
H A DBugReporterVisitors.cpp2775 if (Ty->isBooleanType()) in printValue()
2780 if (Ty->isBooleanType()) in printValue()
H A DExprEngineC.cpp1135 if (U->getType()->isBooleanType() && U->isIncrementOp()) in VisitIncrementDecrementOperator()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DContext.cpp67 if (T->isBooleanType()) in classify()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h55 if (!hasComparison && !RetTy->isBooleanType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
142 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DSMTConv.h29 if (Ty->isBooleanType()) in mkSort()
271 if (FromTy->isBooleanType()) { in fromCast()
493 if (Ty->isBooleanType()) in getZeroExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaFixItUtils.cpp179 if (T.isBooleanType() && in getScalarZeroExpressionForType()
H A DSemaCast.cpp1325 if (DestType->isBooleanType()) { in TryStaticCast()
1357 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast()
2141 && !SrcType->isBooleanType() in checkIntToPointerCast()
2397 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast()
2790 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast()
3027 !DestType->isBooleanType()) { in CheckCStyleCast()
H A DSemaStmtAsm.cpp680 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
H A DSemaChecking.cpp219 return Ty->isIntegerType() && !Ty->isEnumeralType() && !Ty->isBooleanType(); in SemaBuiltinAlignment()
11385 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison()
11629 if (BitfieldType->isBooleanType()) in AnalyzeBitFieldAssignment()
11646 if (Bitfield->getType()->isBooleanType()) in AnalyzeBitFieldAssignment()
12339 if (S.SourceMgr.isInSystemMacro(CC) || Target->isBooleanType()) in CheckImplicitConversion()
12406 if (Target->isBooleanType() && isa<CallExpr>(E)) { in CheckImplicitConversion()
12415 InnerE->getType()->isBooleanType()) { in CheckImplicitConversion()
12541 if (Target->isBooleanType()) in CheckImplicitConversion()
12713 if (T->isBooleanType()) in CheckConditionalOperator()
12787 << OrigE->getSourceRange() << T->isBooleanType() in AnalyzeImplicitConversions()
H A DSemaCoroutine.cpp494 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
H A DSemaOverload.cpp232 if (getToType(1)->isBooleanType() && in isPointerConversionToBool()
1728 if (!ToType->isBooleanType()) in IsStandardConversion()
1849 } else if (ToType->isBooleanType() && in IsStandardConversion()
2074 if (FromType->isPromotableIntegerType() && !FromType->isBooleanType() && in IsIntegralPromotion()
2214 if (FromType->isBooleanType() && To->getKind() == BuiltinType::Int) { in IsIntegralPromotion()
5575 SCS.getToType(2)->isBooleanType(); in CheckConvertedConstantConversions()
13577 !FnDecl->getReturnType()->isBooleanType()) { in CreateOverloadedBinOp()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprScalar.cpp1025 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck()
1223 if (SrcElementType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarCast()
1260 if (DstType->isBooleanType()) in EmitScalarConversion()
1296 if (DstType->isBooleanType()) in EmitScalarConversion()
1504 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion()
1671 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr()
2246 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr()
2283 assert(DestTy->isBooleanType() && "Expected dest type to be boolean type"); in VisitCastExpr()
2458 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec()
2474 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTemplateBase.cpp77 if (T->isBooleanType()) { in printIntegral()
H A DASTDiagnostic.cpp1756 if (FromIntType->isBooleanType()) { in PrintAPSInt()
1800 if (IntType->isBooleanType()) { in PrintAPSInt()
H A DAPValue.cpp650 if (Ty->isBooleanType()) in printPretty()
H A DASTContext.cpp3875 if (!EltTy->isBooleanType() && \ in getScalableVectorType()
3886 if (EltTy->isBooleanType() && NumElts == NumEls) \ in getScalableVectorType()
3893 if (!EltTy->isBooleanType() && \ in getScalableVectorType()
3900 if (EltTy->isBooleanType() && NumElts == NumEls) \ in getScalableVectorType()
10093 if (T->isBooleanType()) in getIntWidth()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DCanonicalType.h273 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
H A DType.h1974 bool isBooleanType() const;
3436 (T->isRealType() && !T->isBooleanType() && !T->isEnumeralType());
7070 inline bool Type::isBooleanType() const {
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DBodyFarm.cpp606 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1009 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()

12