r263194 - Removing the friend declaration was not a good idea.

John McCall via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 10 21:03:01 PST 2016


Author: rjmccall
Date: Thu Mar 10 23:03:01 2016
New Revision: 263194

URL: http://llvm.org/viewvc/llvm-project?rev=263194&view=rev
Log:
Removing the friend declaration was not a good idea.

Modified:
    cfe/trunk/include/clang/CodeGen/CGFunctionInfo.h

Modified: cfe/trunk/include/clang/CodeGen/CGFunctionInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/CodeGen/CGFunctionInfo.h?rev=263194&r1=263193&r2=263194&view=diff
==============================================================================
--- cfe/trunk/include/clang/CodeGen/CGFunctionInfo.h (original)
+++ cfe/trunk/include/clang/CodeGen/CGFunctionInfo.h Thu Mar 10 23:03:01 2016
@@ -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;
   }




More information about the cfe-commits mailing list