Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp69 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
H A DDeadStoresChecker.cpp339 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
H A DIvarInvalidationChecker.cpp629 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
H A DMacOSKeychainAPIChecker.cpp347 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp325 if (!Arg4->isNullPointerConstant(Context, in checkBuiltinEnqueueKernel()
336 if (!Arg5->isNullPointerConstant(Context, in checkBuiltinEnqueueKernel()
H A DSemaFixItUtils.cpp102 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
H A DSemaExpr.cpp563 UO->getSubExpr()->IgnoreParenCasts()->isNullPointerConstant( in CheckForNullPointerDereference()
6155 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument()
7453 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast()
8005 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
8012 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
8063 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer()
9589 RHS.get()->isNullPointerConstant(Context, in CheckAssignmentConstraints()
9693 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints()
9818 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints()
9877 if (LHSType->isQueueT() && RHS.get()->isNullPointerConstant( in CheckSingleAssignmentConstraints()
[all …]
H A DSemaARM.cpp136 return E->isNullPointerConstant(Context, in BuiltinARMMemoryTaggingCall()
H A DSemaExprObjC.cpp2912 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
3565 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
5110 !SrcExpr->isNullPointerConstant(getASTContext(), in CheckConversionToObjCLiteral()
H A DSemaExprCXX.cpp754 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof()
4996 From->isNullPointerConstant(Context, in PerformImplicitConversion()
6151 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
6159 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
H A DSemaCast.cpp3188 if (!SrcExpr.get()->isNullPointerConstant(Self.Context, in CheckCStyleCast()
H A DSemaOverload.cpp2895 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion()
3506 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion()
3570 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion()
3585 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion()
H A DSemaInit.cpp6324 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
7702 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
H A DSemaChecking.cpp1665 Arg->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNull)) { in checkPointerAuthValue()
6227 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr()
15492 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
H A DSemaTemplate.cpp6450 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2237 ->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in isNullPointerArithmeticExtension()
3968 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr
4006 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4011 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4015 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4020 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4024 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4028 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4032 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
4038 return M->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
[all …]
H A DASTContext.cpp3097 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp422 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp3181 if (Init->isNullPointerConstant( in FixVarInitializerWithSpan()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp6045 if (E->getArg(4)->isNullPointerConstant( in EmitBuiltinExpr()
6057 if (E->getArg(5)->isNullPointerConstant( in EmitBuiltinExpr()
H A DCGCall.cpp4913 Arg->isNullPointerConstant(getContext(), in getVarArgType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h839 NullPointerConstantKind isNullPointerConstant(
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc10303 …ContextENS0_34NullPointerConstantValueDependenceE", "clang::Expr::isNullPointerConstant(clang::AST…