[randstruct] Add test for "-frandomize-layout-seed-file" flag
authorBill Wendling <isanbard@gmail.com>
Thu, 14 Apr 2022 23:35:41 +0000 (16:35 -0700)
committerBill Wendling <isanbard@gmail.com>
Thu, 14 Apr 2022 23:35:41 +0000 (16:35 -0700)
commit8c77a75fb6a82a4cc2182bca89e007e7190a83de
tree292a42fb993e62a28a763ea9218cb58d05d2c4c3
parent03049c51251189b5aafed825095f3adcd52b3dee
[randstruct] Add test for "-frandomize-layout-seed-file" flag

This test makes sure that the "-frandomize-layout-seed" and
"-frandomize-layout-seed-file" flags generate the same layout for the
record.

Reviewed By: aaron.ballman, MaskRay

Differential Revision: https://reviews.llvm.org/D123636
clang/unittests/AST/RandstructTest.cpp