| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCContainersASTChecker.cpp | 69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
|
| H A D | DeadStoresChecker.cpp | 340 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
|
| H A D | MacOSKeychainAPIChecker.cpp | 348 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
|
| H A D | IvarInvalidationChecker.cpp | 630 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
|
| H A D | SemaExpr.cpp | 6805 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument() 8104 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast() 8697 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull() 8704 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull() 10421 RHS.get()->isNullPointerConstant(Context, in CheckAssignmentConstraints() 10525 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints() 10650 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints() 12620 if (Other->isNullPointerConstant(S.getASTContext(), in diagnoseObjCLiteralComparison() 12823 !RHSStripped->isNullPointerConstant(S.Context, in diagnoseTautologicalComparison() 13037 E.get()->isNullPointerConstant(Context, in CheckPtrComparisonWithNullChar() [all …]
|
| H A D | SemaExprObjC.cpp | 2921 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage() 3567 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
|
| H A D | SemaExprCXX.cpp | 772 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof() 6927 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType() 6935 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
|
| H A D | SemaOverload.cpp | 2564 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion() 3267 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion() 3331 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion() 3351 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion() 3392 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
|
| H A D | SemaChecking.cpp | 1694 if (!Arg4->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel() 1705 if (!Arg5->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel() 10012 return E->isNullPointerConstant( in SemaBuiltinARMMemoryTaggingCall() 10472 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr() 19399 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
|
| H A D | SemaInit.cpp | 5933 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource() 8474 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
|
| H A D | SemaTemplate.cpp | 6737 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 3866 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr 3904 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3909 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3913 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3918 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3922 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3926 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3930 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3936 return M->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3939 return Source->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() [all …]
|
| H A D | ASTContext.cpp | 2856 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
|
| H A D | ExprConstant.cpp | 12667 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitBuiltinCallExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 421 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 1939 if (Init->isNullPointerConstant(Ctx, in FixVarInitializerWithSpan()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Expr.h | 819 NullPointerConstantKind isNullPointerConstant(
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 4710 Arg->isNullPointerConstant(getContext(), in getVarArgType()
|
| H A D | CGBuiltin.cpp | 5577 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr() 5588 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()
|