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

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 23 13:41:44 PDT 2017


hfinkel added a comment.

I'd really like to see this done in some way such that we can issue a warning along with generating well-defined code. The warning can specifically state that the code is using an extension, etc.


https://reviews.llvm.org/D37042





More information about the cfe-commits mailing list