]> granicus.if.org Git - clang/commitdiff
Removing the friend declaration was not a good idea.
authorJohn McCall <rjmccall@apple.com>
Fri, 11 Mar 2016 05:03:01 +0000 (05:03 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 11 Mar 2016 05:03:01 +0000 (05:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263194 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/CodeGen/CGFunctionInfo.h

index b532c794b6d9aedd40346f855d0283d985f4b4c2..a7f3bb976c8c655357f263787e3940d2f6cf1290 100644 (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;
   }