void added a comment.

In D143300#4107132 <https://reviews.llvm.org/D143300#4107132>, @nickdesaulniers 
wrote:

> In D143300#4104469 <https://reviews.llvm.org/D143300#4104469>, @MaskRay wrote:
>
>> `clang/test/CodeGen/init-randomized-struct-fwd-decl.c` passes without this 
>> patch. Is it correct?
>
> Perhaps related to my comment about RecordDecl vs EnumDecl...
>
> or the tests might require a specific randomization seed?

It was a think-o on my part. The `__attribute__((randomize_layout))` forces 
randomization. And yes I need to add a check for EnumDecl. Patch incoming.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143300

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to