[PATCH] D135287: Disallow dereferencing of void* in C++.

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 11:12:52 PDT 2022


erichkeane added a comment.

In D135287#3837584 <https://reviews.llvm.org/D135287#3837584>, @jrtc27 wrote:

> What about `__typeof__(*p)`?

Yes, that would also be an error in C++, as it is on all other compilers.


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

https://reviews.llvm.org/D135287



More information about the cfe-commits mailing list