[PATCH] D120936: [Sema][Windows] Don't special-case void* in __unaligned conversions.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 8 18:43:39 PST 2022


efriedma added a comment.

In D120936#3368566 <https://reviews.llvm.org/D120936#3368566>, @rnk wrote:

> I wasn't able to find any history for why `void*` was special here.

As far as I can tell, nobody ever thought `void*` was special.  The check was an attempt to restrict dubious conversions while still remaining compatible with existing code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120936



More information about the cfe-commits mailing list