#include "Plugins/SymbolFile/NativePDB/UdtRecordCompleter.h"
#include "llvm/ADT/StringExtras.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
usingnamespacelldb_private::npdb;
usingnamespacellvm;
namespace {
Member;
MemberUP;
Record;
class WrappedMember { … };
class WrappedRecord { … };
class UdtRecordCompleterRecordTests : public testing::Test { … };
Member *AddField(Member *member, StringRef name, uint64_t byte_offset,
uint64_t byte_size, Member::Kind kind,
uint64_t base_offset = 0) { … }
}
TEST_F(UdtRecordCompleterRecordTests, TestAnonymousUnionInStruct) { … }
TEST_F(UdtRecordCompleterRecordTests, TestAnonymousUnionInUnion) { … }
TEST_F(UdtRecordCompleterRecordTests, TestAnonymousStructInUnion) { … }
TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInStruct) { … }
TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion) { … }