Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
H A DDeadStoresChecker.cpp340 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
H A DMacOSKeychainAPIChecker.cpp348 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
H A DIvarInvalidationChecker.cpp630 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
H A DSemaExpr.cpp6805 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 DSemaExprObjC.cpp2921 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
3567 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
H A DSemaExprCXX.cpp772 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 DSemaOverload.cpp2564 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 DSemaChecking.cpp1694 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 DSemaInit.cpp5933 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
8474 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
H A DSemaTemplate.cpp6737 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3866 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 DASTContext.cpp2856 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
H A DExprConstant.cpp12667 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitBuiltinCallExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp421 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1939 if (Init->isNullPointerConstant(Ctx, in FixVarInitializerWithSpan()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h819 NullPointerConstantKind isNullPointerConstant(
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp4710 Arg->isNullPointerConstant(getContext(), in getVarArgType()
H A DCGBuiltin.cpp5577 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr()
5588 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()