[PATCH] D38186: Add the new -Wnull-pointer-arithmetic warnings to the release notes

2017-09-28 Thread Sylvestre Ledru via Phabricator via cfe-commits
sylvestre.ledru accepted this revision. sylvestre.ledru added a comment. This revision is now accepted and ready to land. Thanks, it makes sense! Landed in r314387 https://reviews.llvm.org/D38186 ___ cfe-commits mailing list cfe-commits@lists.llvm.o

[PATCH] D38186: Add the new -Wnull-pointer-arithmetic warnings to the release notes

2017-09-27 Thread Hal Finkel via Phabricator via cfe-commits
hfinkel added inline comments. Comment at: ReleaseNotes.rst:82 +- ``-Wnull-pointer-arithmetic`` now warns about performing pointer arithmetic + on a null pointer. It has an undefined behavior if the offset is nonzero. + We can probably just make this one entry:

[PATCH] D38186: Add the new -Wnull-pointer-arithmetic warnings to the release notes

2017-09-22 Thread Sylvestre Ledru via Phabricator via cfe-commits
sylvestre.ledru created this revision. sylvestre.ledru added a project: clang. https://reviews.llvm.org/D38186 Files: ReleaseNotes.rst Index: ReleaseNotes.rst === --- ReleaseNotes.rst +++ ReleaseNotes.rst @@ -78,6 +78,12 @@ wh