Home
last modified time | relevance | path

Searched refs:isNullPointerConstant (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp74 RHS->isNullPointerConstant(Ctx, in VisitObjCMessageExpr()
215 if (E->isNullPointerConstant(Pass.Ctx, Expr::NPC_ValueDependentIsNull)) in isZero()
H A DTransUnbridgedCasts.cpp105 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp70 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
H A DDeadStoresChecker.cpp285 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
H A DIvarInvalidationChecker.cpp645 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
H A DMacOSKeychainAPIChecker.cpp353 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp3438 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr
3476 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3481 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3485 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3490 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3494 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3498 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3502 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3508 return M->GetTemporaryExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3511 return Source->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
[all …]
H A DASTContext.cpp2497 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
H A DExprConstant.cpp8582 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitBuiltinCallExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaFixItUtils.cpp103 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
H A DSemaExpr.cpp5117 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument()
6059 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast()
6529 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
6536 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
6603 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer()
8185 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints()
8286 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints()
9284 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands()
9863 if (Other->isNullPointerConstant(S.getASTContext(), in diagnoseObjCLiteralComparison()
10038 !RHSStripped->isNullPointerConstant(S.Context, in diagnoseTautologicalComparison()
[all …]
H A DSemaOverload.cpp2253 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion()
2915 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion()
2979 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion()
2999 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion()
3040 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
H A DSemaExprCXX.cpp646 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof()
6112 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
6120 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
H A DSemaExprObjC.cpp2731 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
3342 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
H A DSemaChecking.cpp600 if (!Arg4->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel()
611 if (!Arg5->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel()
6343 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr()
10702 E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull); in DiagnoseNullConversion()
13719 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
H A DSemaInit.cpp5167 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
7234 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
H A DSemaTemplate.cpp5669 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp370 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExpr.h725 NullPointerConstantKind isNullPointerConstant(
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCall.cpp3661 Arg->isNullPointerConstant(getContext(), in getVarArgType()