/external/clang/lib/ARCMigrate/ |
D | TransZeroOutPropsInDealloc.cpp | 74 RHS->isNullPointerConstant(Ctx, in VisitObjCMessageExpr() 215 if (E->isNullPointerConstant(Pass.Ctx, Expr::NPC_ValueDependentIsNull)) in isZero()
|
D | TransUnbridgedCasts.cpp | 105 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCContainersASTChecker.cpp | 70 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
|
D | DeadStoresChecker.cpp | 284 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
|
D | MacOSKeychainAPIChecker.cpp | 378 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
|
D | IvarInvalidationChecker.cpp | 645 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 3131 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr 3169 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3174 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3178 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3183 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3187 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3191 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3195 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3201 return M->GetTemporaryExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() 3204 return Source->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant() [all …]
|
D | ASTContext.cpp | 2026 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
|
D | ExprConstant.cpp | 7083 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitCallExpr()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 103 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
|
D | SemaExpr.cpp | 564 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull) && in CheckForNullPointerDereference() 4933 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument() 5673 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast() 6122 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull() 6129 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull() 6196 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer() 7651 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints() 7739 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints() 8953 if (Other->isNullPointerConstant(S.getASTContext(), in diagnoseObjCLiteralComparison() 9118 !RHSStripped->isNullPointerConstant(Context, in CheckCompareOperands() [all …]
|
D | SemaExprCXX.cpp | 575 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof() 5393 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType() 5398 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType() 5405 if (E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType() 5412 if (E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
|
D | SemaExprObjC.cpp | 2610 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage() 3190 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
|
D | SemaOverload.cpp | 2084 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion() 2732 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion() 2796 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion() 2816 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion() 2857 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
|
D | SemaChecking.cpp | 3817 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr() 7997 E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull); in DiagnoseNullConversion() 10875 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
|
D | SemaInit.cpp | 4794 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource() 6184 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
|
D | SemaTemplate.cpp | 4392 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 322 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 702 NullPointerConstantKind isNullPointerConstant(
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 3350 Arg->isNullPointerConstant(getContext(), in getVarArgType()
|