[PATCH] D68115: Zero initialize padding in unions

Thorsten via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 17 10:06:59 PDT 2020


tschuett added a comment.

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) ?


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