summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/derefnullptr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/derefnullptr.cxx b/compilerplugins/clang/derefnullptr.cxx
index 5663e4f27d46..83fa5c4a0b91 100644
--- a/compilerplugins/clang/derefnullptr.cxx
+++ b/compilerplugins/clang/derefnullptr.cxx
@@ -26,7 +26,7 @@ public:
bool DerefNullPtr::VisitUnaryDeref(UnaryOperator const * op) {
if (!ignoreLocation(op)
&& (op->getSubExpr()->IgnoreParenCasts()->isNullPointerConstant(
- compiler.getASTContext(), Expr::NPC_NeverValueDependent/*TODO*/)
+ compiler.getASTContext(), Expr::NPC_ValueDependentIsNotNull/*TODO*/)
!= Expr::NPCK_NotNull))
{
report(