[PATCH] D98798: Produce warning for performing pointer arithmetic on a null pointer.
Jamie Schmeiser via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 7 09:48:55 PDT 2021
jamieschmeiser added a comment.
@rsmith I separated the C and C++ messages in response to your comments and changed the C++ message to state that "performing pointer subtraction with a null pointer may have undefined behavior" to address your concerns. Are you satisfied? @thakis, the warning no longer fires in the MS headers according to @hans and there is separate option control over this warning. Is this sufficient? @efriedma, thank you for reviewing/approving the original but these changes were sufficiently different that I thought a new review would be beneficial. Are you still satisfied with the resulting changes?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98798/new/
https://reviews.llvm.org/D98798
More information about the cfe-commits
mailing list