/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransZeroOutPropsInDealloc.cpp | 73 RHS->isNullPointerConstant(Ctx, in VisitObjCMessageExpr() 212 if (E->isNullPointerConstant(Pass.Ctx, Expr::NPC_ValueDependentIsNull)) in isZero()
|
H A D | TransUnbridgedCasts.cpp | 104 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCContainersASTChecker.cpp | 69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenCL.cpp | 325 if (!Arg4->isNullPointerConstant(Context, in checkBuiltinEnqueueKernel() 336 if (!Arg5->isNullPointerConstant(Context, in checkBuiltinEnqueueKernel()
|
H A D | SemaFixItUtils.cpp | 102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
|
H A D | SemaExpr.cpp | 566 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 D | SemaARM.cpp | 135 return E->isNullPointerConstant(Context, in BuiltinARMMemoryTaggingCall()
|
H A D | SemaExprObjC.cpp | 2923 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 D | SemaExprCXX.cpp | 767 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 D | SemaOverload.cpp | 2718 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 D | SemaInit.cpp | 6074 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource() 7418 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
|
H A D | SemaChecking.cpp | 1605 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 D | SemaTemplate.cpp | 6014 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 2229 ->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 D | ASTContext.cpp | 2911 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 2220 if (Init->isNullPointerConstant( in FixVarInitializerWithSpan()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 836 NullPointerConstantKind isNullPointerConstant(
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 4734 Arg->isNullPointerConstant(getContext(), in getVarArgType()
|
H A D | CGBuiltin.cpp | 5838 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr() 5850 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()
|