Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp74 RHS->isNullPointerConstant(Ctx, in VisitObjCMessageExpr()
215 if (E->isNullPointerConstant(Pass.Ctx, Expr::NPC_ValueDependentIsNull)) in isZero()
DTransUnbridgedCasts.cpp105 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp70 E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)); in hasPointerToPointerSizedType()
DDeadStoresChecker.cpp284 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
DMacOSKeychainAPIChecker.cpp378 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
DIvarInvalidationChecker.cpp645 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
/external/clang/lib/AST/
DExpr.cpp3131 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 …]
DASTContext.cpp2026 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
DExprConstant.cpp7083 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitCallExpr()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp103 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
DSemaExpr.cpp564 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 …]
DSemaExprCXX.cpp575 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()
DSemaExprObjC.cpp2610 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
3190 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
DSemaOverload.cpp2084 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()
DSemaChecking.cpp3817 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()
DSemaInit.cpp4794 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
6184 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) { in CheckForNullPointerDereference()
DSemaTemplate.cpp4392 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp322 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/external/clang/include/clang/AST/
DExpr.h702 NullPointerConstantKind isNullPointerConstant(
/external/clang/lib/CodeGen/
DCGCall.cpp3350 Arg->isNullPointerConstant(getContext(), in getVarArgType()