Home
last modified time | relevance | path

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

1234

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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()
/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.cpp185 bool isBooleanType(Type Ty) { in isBooleanType() function
243 return Ty != IceType_void && !isBooleanType(Ty); in isLoadStoreType()
DIceTypes.h92 bool isBooleanType(Type Ty); // scalar or vector
/external/llvm-project/clang-tools-extra/clang-tidy/boost/
DUseToStringCheck.cpp20 !Node.isBooleanType(); in AST_MATCHER()
/external/llvm-project/clang-tools-extra/clangd/
DExpectedTypes.cpp28 if (T->isBooleanType()) in toEquivClass()
/external/llvm-project/clang/lib/AST/Interp/
DContext.cpp67 if (T->isBooleanType()) in classify()
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DMultiwayPathsCoveredCheck.cpp84 if (T->isBooleanType()) in getNumberOfPossibleValues()
/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()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConstraintManager.h55 if (!hasComparison && !RetTy->isBooleanType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
142 Ty->isBooleanType() ? Solver->mkBoolean(Value.getBoolValue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
DSMTConv.h29 if (Ty->isBooleanType()) in mkSort()
271 if (FromTy->isBooleanType()) { in fromCast()
493 if (Ty->isBooleanType()) in getZeroExpr()
/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()
/external/llvm-project/clang/lib/Sema/
DSemaFixItUtils.cpp179 if (T.isBooleanType() && in getScalarZeroExpressionForType()
DSemaCast.cpp1229 if (DestType->isBooleanType()) { in TryStaticCast()
1261 Enum->getDecl()->getIntegerType()->isBooleanType() in TryStaticCast()
2045 && !SrcType->isBooleanType() in checkIntToPointerCast()
2291 Self.getLangOpts().MicrosoftExt && !DestType->isBooleanType(); in TryReinterpretCast()
2672 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast()
2901 !DestType->isBooleanType()) { in CheckCStyleCast()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp111 if (castTy->isBooleanType()) { in evalCastFromNonLoc()
148 if (castTy->isBooleanType()) { in evalCastFromLoc()
706 assert(resultTy->isBooleanType() || in evalBinOpNN()
708 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DSimplifyBooleanExprCheck.cpp167 ImpCast->getSubExpr()->getType()->isBooleanType()) { in needsStaticCast()
180 return !E->getType()->isBooleanType(); in needsStaticCast()
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp1021 assert(!DstType->isBooleanType() && "we should not get here with booleans."); in EmitIntegerTruncationCheck()
1208 if (DstType->isBooleanType()) in EmitScalarConversion()
1243 if (DstType->isBooleanType()) in EmitScalarConversion()
1388 if (SrcType->isBooleanType() && Opts.TreatBooleanAsSigned) { in EmitScalarConversion()
1462 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion()
1629 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr()
2173 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr()
2206 assert(DestTy->isBooleanType() && "Expected dest type to be boolean type"); in VisitCastExpr()
2381 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec()
2397 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec()
[all …]
/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()
/external/llvm-project/clang/lib/AST/
DTemplateBase.cpp71 if (T->isBooleanType() && !Policy.MSVCFormatting) { in printIntegral()
/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)
/external/llvm-project/clang/include/clang/AST/
DCanonicalType.h273 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)

1234