[PATCH] D68115: Zero initialize padding in unions

JF Bastien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 17 11:43:08 PDT 2020


jfb added a comment.

In D68115#2040696 <https://reviews.llvm.org/D68115#2040696>, @tschuett wrote:

> As an outsider: In Swift, reading an uninitialized variable is a compile-time error. Clang is not powerful enough to do this analysis. Aren't you really looking for the Clang Intermediate Language (CIL) ?


I have an entire talk about this: https://www.youtube.com/watch?v=I-XUHPimq3o


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68115





More information about the cfe-commits mailing list