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)
llvm-svn: 263194

clang/include/clang/CodeGen/CGFunctionInfo.h

index b532c79..a7f3bb9 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;
   }