Removing the friend declaration was not a good idea.

llvm-svn: 263194
This commit is contained in:
John McCall 2016-03-11 05:03:01 +00:00
parent 519966fc92
commit 7509ba64c4
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@ public:
// Friending class TrailingObjects is apparently not good enough for MSVC,
// so these have to be public.
friend class TrailingObjects;
size_t numTrailingObjects(OverloadToken<ArgInfo>) const {
return NumArgs + 1;
}