[PATCH] D37042: Teach clang to tolerate the 'p = nullptr + n' idiom used by glibc
David Majnemer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 22 20:51:29 PDT 2017
majnemer added a comment.
I'd expect this to be more limited.
Something like, "if we have a BinaryOperator of + between a CStyleCastExpr of NullToPointer and 'X', emit inttoptr(X)"
More information about the cfe-commits