[PATCH] D134461: [Clang] Warn when trying to deferencing void pointers in C

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 09:47:30 PDT 2022


erichkeane added a comment.

FWIW, I think the idea of allowing dereference of `void*` in an unevaluated context seems somewhat sensible, if sad.  I suspect the kernel is not the only place to do this foolishness and take advantage of the extensions we/gcc permit for the `void` type.  So I'll say "sounds good to me", but I'm going to be grumpy about it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134461



More information about the cfe-commits mailing list