Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp73 RHS->isNullPointerConstant(Ctx, in VisitObjCMessageExpr()
212 if (E->isNullPointerConstant(Pass.Ctx, Expr::NPC_ValueDependentIsNull)) in isZero()
H A DTransUnbridgedCasts.cpp104 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
H A DDeadStoresChecker.cpp344 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
H A DIvarInvalidationChecker.cpp644 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
H A DMacOSKeychainAPIChecker.cpp356 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
H A DSemaExpr.cpp6069 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument()
7240 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast()
7788 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
7795 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
9534 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints()
9635 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints()
10745 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands()
11327 if (Other->isNullPointerConstant(S.getASTContext(), in diagnoseObjCLiteralComparison()
11525 !RHSStripped->isNullPointerConstant(S.Context, in diagnoseTautologicalComparison()
11739 E.get()->isNullPointerConstant(Context, in CheckPtrComparisonWithNullChar()
[all …]
H A DSemaExprObjC.cpp2920 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
3568 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
H A DSemaChecking.cpp1038 if (!Arg4->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel()
1049 if (!Arg5->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel()
7139 return E->isNullPointerConstant( in SemaBuiltinARMMemoryTaggingCall()
7558 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr()
12307 E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull); in DiagnoseNullConversion()
16210 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
H A DSemaExprCXX.cpp760 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof()
6580 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
6588 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
H A DSemaOverload.cpp2331 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion()
2997 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion()
3061 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion()
3081 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion()
3122 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
H A DSemaInit.cpp5488 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
7927 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
H A DSemaTemplate.cpp6323 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3750 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr
3791 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3796 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3800 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3805 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3809 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3813 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3817 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3823 return M->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3826 return Source->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
[all …]
H A DASTContext.cpp2803 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
H A DExprConstant.cpp12032 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitBuiltinCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp392 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h783 NullPointerConstantKind isNullPointerConstant(
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp4350 Arg->isNullPointerConstant(getContext(), in getVarArgType()
H A DCGBuiltin.cpp4891 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr()
4902 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()