Fix Visual C++ error C2248:
authorYaron Keren <yaron.keren@gmail.com>
Thu, 6 Aug 2015 07:59:26 +0000 (07:59 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Thu, 6 Aug 2015 07:59:26 +0000 (07:59 +0000)
commitf10e43020c2763b9f1c98be3308c480b6a91b8ba
treedbee7fe3d81ebd13be1b8143800fbc9116a9d9a2
parent940e92b1932585802cf0fcde51ece95bb5083b49
Fix Visual C++ error C2248:
'llvm::TrailingObjects<`anonymous-namespace'::Class1,short,llvm::NoTrailingTypeArg>::additionalSizeToAlloc' :
cannot access protected member declared in class
 'llvm::TrailingObjects<`anonymous-namespace'::Class1,short,llvm::NoTrailingTypeArg>'

 I'm not sure how this compiles with gcc.
 Aren't protecteded members accessible only with protected or public inheritance?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244199 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/TrailingObjectsTest.cpp