[PATCH] D37042: Teach clang to tolerate the 'p = nullptr + n' idiom used by glibc

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 25 10:57:23 PDT 2017

efriedma added a comment.

It would be nice to warn on any nullptr arithmetic, yes.  (We probably want the wording of the warning to be a bit different if we're activating this workaround.)


More information about the cfe-commits mailing list