| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/ |
| H A D | BufferDerefCheck.cpp | 45 if (CE->getArg(BufferIdx)->isNullPointerConstant( in check()
|
| H A D | TypeMismatchCheck.cpp | 261 if (CE->getArg(BufferIdx)->isNullPointerConstant( in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCContainersASTChecker.cpp | 69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
|
| H A D | DeadStoresChecker.cpp | 341 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
|
| H A D | IvarInvalidationChecker.cpp | 644 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
|
| H A D | MacOSKeychainAPIChecker.cpp | 355 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
|
| H A D | SemaExpr.cpp | 6262 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument() 7536 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast() 8116 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull() 8123 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull() 9890 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints() 9991 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints() 11224 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands() 11926 if (Other->isNullPointerConstant(S.getASTContext(), in diagnoseObjCLiteralComparison() 12124 !RHSStripped->isNullPointerConstant(S.Context, in diagnoseTautologicalComparison() 12338 E.get()->isNullPointerConstant(Context, in CheckPtrComparisonWithNullChar() [all …]
|
| H A D | SemaExprObjC.cpp | 2920 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage() 3568 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
|
| H A D | SemaExprCXX.cpp | 763 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof() 6783 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType() 6791 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
|
| H A D | SemaOverload.cpp | 2333 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion() 3004 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion() 3068 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion() 3088 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion() 3129 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
|
| H A D | SemaChecking.cpp | 1571 if (!Arg4->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel() 1582 if (!Arg5->isNullPointerConstant(S.Context, in SemaOpenCLBuiltinEnqueueKernel() 8050 return E->isNullPointerConstant( in SemaBuiltinARMMemoryTaggingCall() 8498 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr() 13346 E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull); in DiagnoseNullConversion() 17324 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
|
| H A D | SemaInit.cpp | 5516 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource() 7986 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
|
| H A D | SemaTemplate.cpp | 6385 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 3779 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr 3817 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3822 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3826 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3831 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3835 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3839 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3843 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3849 return M->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3852 return Source->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() [all …]
|
| H A D | ASTContext.cpp | 2884 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
|
| H A D | ExprConstant.cpp | 12260 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitBuiltinCallExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 414 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 796 NullPointerConstantKind isNullPointerConstant(
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 4430 Arg->isNullPointerConstant(getContext(), in getVarArgType()
|
| H A D | CGBuiltin.cpp | 4974 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr() 4985 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()
|