Home
last modified time | relevance | path

Searched refs:NullExpr (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaExpr.cpp6119 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull() local
6122 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
6126 NullExpr = RHSExpr; in DiagnoseConditionalForNull()
6129 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
6142 NullExpr = NullExpr->IgnoreParenImpCasts(); in DiagnoseConditionalForNull()
6143 SourceLocation loc = NullExpr->getExprLoc(); in DiagnoseConditionalForNull()
6193 static bool checkConditionalNullPointer(Sema &S, ExprResult &NullExpr, in checkConditionalNullPointer() argument
6196 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer()
6200 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp7621 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull() local
7624 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
7628 NullExpr = RHSExpr; in DiagnoseConditionalForNull()
7631 NullExpr->isNullPointerConstant(Context, in DiagnoseConditionalForNull()
7644 NullExpr = NullExpr->IgnoreParenImpCasts(); in DiagnoseConditionalForNull()
7645 SourceLocation loc = NullExpr->getExprLoc(); in DiagnoseConditionalForNull()
7695 static bool checkConditionalNullPointer(Sema &S, ExprResult &NullExpr, in checkConditionalNullPointer() argument
7698 !NullExpr.get()->isNullPointerConstant(S.Context, in checkConditionalNullPointer()
7702 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()