[PATCH] D150875: Make dereferencing a void* a hard-error instead of warn-as-error

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 18 12:10:10 PDT 2023


aaron.ballman added a comment.

In D150875#4353658 <https://reviews.llvm.org/D150875#4353658>, @erichkeane wrote:

> Ok, so I was curious why this was an extension.  This is the original patch: https://github.com/llvm/llvm-project/commit/80877c228d019e9cdca6295f3197867cc86e1720 where @rsmith mentions there is no good reason for this limitation, then mentions a core issue having been filed.  I found CWG1923 (https://open-std.org/JTC1/SC22/WG21/docs/cwg_closed.html#1923), which is said issue.  The resolution is "Needs an EWG Paper", which seems to be the end of the line, as I see no such paper?

Because the Core issue ended up in extension territory and no extension paper came out, and because we don't know there's evidence of a significant user community, I think it's reasonable to remove this extension (it doesn't match our usual requirements for adding extensions). However, if @rsmith is planning to write such a paper (or if there is a paper and we just haven't spotted it), then that's a different story.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150875/new/

https://reviews.llvm.org/D150875



More information about the cfe-commits mailing list