aaron.ballman added inline comments.

================
Comment at: lib/Sema/Sema.cpp:441
     return;
-  if (E->getType()->isNullPtrType())
+  if (E->IgnoreImpCasts()->getType()->isNullPtrType())
     return;
----------------
Do we also want to ignore parens here as well with 
`Expr::IgnoreParenImpCasts()`?


https://reviews.llvm.org/D39301



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to