Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp74 RHS->isNullPointerConstant(Ctx, in VisitObjCMessageExpr()
217 if (E->isNullPointerConstant(Pass.Ctx, Expr::NPC_ValueDependentIsNull)) in isZero()
DTransUnbridgedCasts.cpp104 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCDealloc.cpp75 ME->getArg(0)->isNullPointerConstant(Ctx, in scan_ivar_release()
85 if (BO->getRHS()->isNullPointerConstant(Ctx, in scan_ivar_release()
DObjCContainersASTChecker.cpp68 if (E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)) in hasPointerToPointerSizedType()
DDeadStoresChecker.cpp278 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
DMacOSKeychainAPIChecker.cpp380 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
DIvarInvalidationChecker.cpp658 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DExpr.cpp3059 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr
3086 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3091 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3095 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3100 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3104 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3108 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3112 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3118 return M->GetTemporaryExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3121 return Source->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
[all …]
DExprCXX.cpp127 if (!Op->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in getUuidAsStringRef()
DASTContext.cpp1888 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
DExprConstant.cpp6192 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitCallExpr()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaFixItUtils.cpp103 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
DSemaExpr.cpp478 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull) && in CheckForNullPointerDereference()
4300 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument()
4909 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast()
5257 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
5264 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
5354 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer()
6497 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints()
6569 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints()
7559 if (Other->isNullPointerConstant(S.getASTContext(), in diagnoseObjCLiteralComparison()
7729 !RHSStripped->isNullPointerConstant(Context, in CheckCompareOperands()
[all …]
DSemaExprCXX.cpp490 !E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof()
4671 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
4676 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
4683 if (E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
4690 if (E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
DSemaExprObjC.cpp2280 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
2771 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
DSemaOverload.cpp1979 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion()
2630 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion()
2680 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion()
2700 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion()
2742 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
DSemaChecking.cpp1987 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr()
5407 if ((E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull) in CheckImplicitConversion()
7372 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
DSemaTemplate.cpp4149 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
DSemaInit.cpp4287 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp294 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DExpr.h644 NullPointerConstantKind isNullPointerConstant(