lebedev.ri added inline comments.
================
Comment at: lib/Sema/Sema.cpp:441
return;
- if (E->getType()->isNullPtrType())
+ if (E->IgnoreImpCasts()->getType()->isNullPtrType())
return;
----------------
erichkeane wrote:
> aaron.ballman wrote:
> > Do we also want to ignore parens here as well with
> > `Expr::IgnoreParenImpCasts()`?
> I don't see a reason why not! Patch incoming.
Probably needs a test too :)
https://reviews.llvm.org/D39301
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits