Try to fix uninitialized read in unit test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2017-06-19 21:59:09 +00:00
parent c46faf029e
commit 8d9cfad6aa

View File

@ -360,6 +360,7 @@ TEST_F(RandomAccessVisitorTest, CrossChunkName) {
Class.Name = "FooClass";
Class.Options = ClassOptions::None;
Class.MemberCount = 0;
Class.Size = 4U;
Class.DerivationList = TypeIndex::fromArrayIndex(0);
Class.FieldList = TypeIndex::fromArrayIndex(0);
Class.VTableShape = TypeIndex::fromArrayIndex(0);