Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp325 if (!Arg4->isNullPointerConstant(Context, in checkBuiltinEnqueueKernel()
336 if (!Arg5->isNullPointerConstant(Context, in checkBuiltinEnqueueKernel()
H A DSemaFixItUtils.cpp102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
H A DSemaExpr.cpp566 UO->getSubExpr()->IgnoreParenCasts()->isNullPointerConstant( in CheckForNullPointerDereference()
6021 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument()
7297 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast()
7846 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
7853 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
7904 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer()
9425 RHS.get()->isNullPointerConstant(Context, in CheckAssignmentConstraints()
9529 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints()
9654 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints()
9688 if (LHSType->isQueueT() && RHS.get()->isNullPointerConstant( in CheckSingleAssignmentConstraints()
[all …]
H A DSemaARM.cpp135 return E->isNullPointerConstant(Context, in BuiltinARMMemoryTaggingCall()
H A DSemaExprObjC.cpp2923 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
3575 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
5116 !SrcExpr->isNullPointerConstant(getASTContext(), in CheckConversionToObjCLiteral()
H A DSemaExprCXX.cpp767 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof()
7144 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
7152 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
H A DSemaOverload.cpp2718 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion()
3319 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion()
3383 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion()
3398 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion()
3433 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
H A DSemaInit.cpp6074 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
7418 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
H A DSemaChecking.cpp1605 Arg->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNull)) { in checkPointerAuthValue()
5673 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr()
14060 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
H A DSemaTemplate.cpp6014 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2229 ->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in isNullPointerArithmeticExtension()
3941 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr
3979 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3984 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3988 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3993 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3997 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4001 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4005 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4011 return M->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
[all …]
H A DASTContext.cpp2911 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp2220 if (Init->isNullPointerConstant( in FixVarInitializerWithSpan()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h836 NullPointerConstantKind isNullPointerConstant(
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp4734 Arg->isNullPointerConstant(getContext(), in getVarArgType()
H A DCGBuiltin.cpp5838 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr()
5850 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()