Home
last modified time | relevance | path

Searched refs:isNullPointerConstant (Results 1 – 23 of 23) 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/
DCheckObjCDealloc.cpp54 ME->getArg(0)->isNullPointerConstant(Ctx, in scan_ivar_release()
64 if (BO->getRHS()->isNullPointerConstant(Ctx, in scan_ivar_release()
DObjCContainersASTChecker.cpp69 if (E->isNullPointerConstant(ASTC, Expr::NPC_ValueDependentIsNull)) in hasPointerToPointerSizedType()
DDeadStoresChecker.cpp282 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) in observeStmt()
DMacOSKeychainAPIChecker.cpp388 if (DeallocatorExpr->isNullPointerConstant(C.getASTContext(), in checkPreStmt()
DIvarInvalidationChecker.cpp648 return (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull) in isZero()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp103 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in tryToFixConversion()
DSemaExpr.cpp529 isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull) && in CheckForNullPointerDereference()
4523 if (ArgExpr->isNullPointerConstant(Context, in CheckStaticArrayArgument()
5221 if (Src.get()->isNullPointerConstant(Context, in PrepareScalarCast()
5626 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
5633 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
5700 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer()
7062 if (RHS.get()->isNullPointerConstant(Context, in CheckTransparentUnionArgumentConstraints()
7134 RHS.get()->isNullPointerConstant(Context, in CheckSingleAssignmentConstraints()
8257 if (Other->isNullPointerConstant(S.getASTContext(), in diagnoseObjCLiteralComparison()
8427 !RHSStripped->isNullPointerConstant(Context, in CheckCompareOperands()
[all …]
DSemaExprCXX.cpp540 !E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in BuildCXXUuidof()
4793 E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
4798 E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
4805 if (E1->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
4812 if (E2->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) { in FindCompositePointerType()
DSemaExprObjC.cpp2355 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage()
2910 if (e->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull)) in VisitExpr()
DSemaOverload.cpp1959 return Expr->isNullPointerConstant(Context, in isNullPointerConstantForConversion()
2612 From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNotNull) == in CheckPointerConversion()
2662 if (From->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckPointerConversion()
2682 if (From->isNullPointerConstant(Context, in IsMemberPointerConversion()
2724 assert(From->isNullPointerConstant(Context, in CheckMemberPointerConversion()
DSemaChecking.cpp2600 if (E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull)) in checkFormatStringExpr()
6551 E->isNullPointerConstant(S.Context, Expr::NPC_ValueDependentIsNotNull); in DiagnoseNullConversion()
9283 if (!ArgumentExpr->isNullPointerConstant(Context, in CheckArgumentWithTypeTag()
DSemaInit.cpp4486 return (e->isNullPointerConstant(C, Expr::NPC_ValueDependentIsNull) in isInvalidICRSource()
DSemaTemplate.cpp4269 if (Arg->isNullPointerConstant(S.Context, Expr::NPC_NeverValueDependent)) { in isNullPointerValueTemplateArgument()
/external/clang/lib/AST/
DExpr.cpp3189 Expr::isNullPointerConstant(ASTContext &Ctx, in isNullPointerConstant() function in Expr
3216 return CE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3221 return ICE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3225 return PE->getSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3230 return GE->getResultExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3234 return CE->getChosenSubExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3238 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3242 return DefaultInit->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3248 return M->GetTemporaryExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
3251 return Source->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
[all …]
DASTDiagnostic.cpp1279 if (E->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in CheckForNullPtr()
1290 return VD->getInit()->IgnoreParenCasts()->isNullPointerConstant( in CheckForNullPtr()
DExprCXX.cpp122 if (!Op->isNullPointerConstant(Context, Expr::NPC_ValueDependentIsNull)) in getUuidAsStringRef()
DASTContext.cpp1915 E->IgnoreParenCasts()->isNullPointerConstant(*this, in isSentinelNullExpr()
DExprConstant.cpp6465 E->getArg(1)->isNullPointerConstant(Info.Ctx, in VisitCallExpr()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp294 if (E->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNotNull)) in getConstantVal()
/external/clang/lib/CodeGen/
DCGCall.cpp2880 Arg->isNullPointerConstant(getContext(), in getVarArgType()
/external/clang/include/clang/AST/
DExpr.h670 NullPointerConstantKind isNullPointerConstant(