Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/
H A DBufferDerefCheck.cpp45 if (CE->getArg(BufferIdx)->isNullPointerConstant( in check()
H A DTypeMismatchCheck.cpp261 if (CE->getArg(BufferIdx)->isNullPointerConstant( in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
H A DDeadStoresChecker.cpp341 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.cpp355 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaFixItUtils.cpp102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
H A DSemaExpr.cpp6262 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 DSemaExprObjC.cpp2920 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
3568 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
H A DSemaExprCXX.cpp763 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 DSemaOverload.cpp2333 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 DSemaChecking.cpp1571 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 DSemaInit.cpp5516 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
7986 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
H A DSemaTemplate.cpp6385 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp3779 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 DASTContext.cpp2884 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
H A DExprConstant.cpp12260 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitBuiltinCallExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp414 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h796 NullPointerConstantKind isNullPointerConstant(
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp4430 Arg->isNullPointerConstant(getContext(), in getVarArgType()
H A DCGBuiltin.cpp4974 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr()
4985 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()