Searched refs:isBooleanType (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBoolAssignmentChecker.cpp43 static bool isBooleanType(QualType Ty) { function
44 if (Ty->isBooleanType()) // C++ or C99
67 if (!isBooleanType(valTy))
H A DSmartPtrModeling.cpp96 return CD && CD->getConversionType()->isBooleanType();
H A DMoveChecker.cpp505 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType())
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp71 if (T->isBooleanType() && !Policy.MSVCFormatting) {
H A DASTDiagnostic.cpp1756 if (FromIntType->isBooleanType()) {
1800 if (IntType->isBooleanType()) {
H A DAPValue.cpp399 if (Ty->isBooleanType())
H A DMicrosoftMangle.cpp1377 mangleIntegerLiteral(Value, E->getType()->isBooleanType());
1453 TA.getIntegralType()->isBooleanType());
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp67 if (T->isBooleanType())
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h55 if (!hasComparison && !RetTy->isBooleanType())
143 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue())
H A DSMTConv.h29 if (Ty->isBooleanType())
271 if (FromTy->isBooleanType()) {
489 if (Ty->isBooleanType())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp179 if (T.isBooleanType() &&
H A DSemaCast.cpp1220 if (DestType->isBooleanType()) {
2030 && !SrcType->isBooleanType()
2270 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType();
2651 (SrcType->isBooleanType() == DestType->isBooleanType()) &&
2860 !DestType->isBooleanType()) {
H A DSemaStmtAsm.cpp665 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast);
H A DSemaCoroutine.cpp461 (!RetType->isBooleanType() && !RetType->isVoidType())) {
H A DSemaOverload.cpp230 if (getToType(1)->isBooleanType() &&
1726 if (!ToType->isBooleanType())
1847 } else if (ToType->isBooleanType() &&
2072 if (FromType->isPromotableIntegerType() && !FromType->isBooleanType() &&
2211 if (FromType->isBooleanType() && To->getKind() == BuiltinType::Int) {
5509 SCS.getToType(2)->isBooleanType();
13374 !FnDecl->getReturnType()->isBooleanType()) {
H A DSemaCodeComplete.cpp2335 if (ReturnType->isBooleanType()) {
8175 (ReturnType->isIntegerType() || ReturnType->isBooleanType())) ||
8177 Property->getType()->isBooleanType())))) {
8704 ReturnType->isBooleanType())) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp111 if (castTy->isBooleanType()) {
148 if (castTy->isBooleanType()) {
706 assert(resultTy->isBooleanType() ||
708 assert(symIntExpr->getType()->isBooleanType() ||
H A DSValBuilder.cpp531 if (castTy->isBooleanType()) {
H A DBugReporterVisitors.cpp2647 if (Ty->isBooleanType())
2652 if (Ty->isBooleanType())
H A DExprEngineC.cpp1129 if (U->getType()->isBooleanType() && U->isIncrementOp())
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1031 assert(!DstType->isBooleanType() && "we should not get here with booleans.");
1218 if (DstType->isBooleanType())
1253 if (DstType->isBooleanType())
1398 if (SrcType->isBooleanType() && Opts.TreatBooleanAsSigned) {
1546 if (DstTy->isBooleanType()) {
1713 if (DstEltType->isBooleanType()) {
2228 assert(!DestTy->isBooleanType() && "bool should use PointerToBool");
2261 assert(DestTy->isBooleanType() && "Expected dest type to be boolean type");
2430 if (isInc && type->isBooleanType()) {
2446 if (!type->isBooleanType()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h273 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
H A DType.h1992 bool isBooleanType() const;
3441 (T->isRealType() && !T->isBooleanType() && !T->isEnumeralType());
7042 inline bool Type::isBooleanType() const {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp604 bool isBoolean = ResultTy->isBooleanType();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1009 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType())

Completed in 344 milliseconds

12