[PATCH] D68115: Zero initialize padding in unions

JF Bastien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 27 19:26:39 PDT 2019


jfb added a comment.

The entire point of this feature is to add guardrails to the language. What do people expect in the real world? Is there a cost to meeting these expectations? If we put the pattern (0x00 or 0xaa) in the technically undef space, what comes out?


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