erichkeane added inline comments.

================
Comment at: clang/docs/ReleaseNotes.rst:59
+- Clang no longer allows dereferencing of a ``void*`` as an extension. Clang 16
+  converted this to a warning-as-default-error as well as a SFINAE error.
 
----------------
MaskRay wrote:
> Mention `-Wvoid-ptr-dereference`?
> 
> Clang 16 converted this to a default-error `-Wvoid-ptr-dereference` as well 
> as a SFINAE error.
> 
> Does this patch intentionally keep `-Wvoid-ptr-dereference` (which is a no-op 
> now)?
Good suggestions!  

Yes, Clang keeps `Wvoid-ptr-dereference` because it is still a valid flag for C.


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

https://reviews.llvm.org/D150875

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to