r279357 - Fix windows bot

Manman Ren via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 19 19:28:15 PDT 2016


Author: mren
Date: Fri Aug 19 21:28:15 2016
New Revision: 279357

URL: http://llvm.org/viewvc/llvm-project?rev=279357&view=rev
Log:
Fix windows bot

Modified:
    cfe/trunk/include/clang/AST/Type.h

Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=279357&r1=279356&r2=279357&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Fri Aug 19 21:28:15 2016
@@ -4782,7 +4782,7 @@ public:
 /// this should get its own sugar class to better represent the source.
 class ObjCObjectType : public Type,
                        public ObjCProtocolQualifiers<ObjCObjectType> {
-  friend class ObjCProtocolQualifiers;
+  template <class T> friend class ObjCProtocolQualifiers;
   // ObjCObjectType.NumTypeArgs - the number of type arguments stored
   // after the ObjCObjectPointerType node.
   // ObjCObjectType.NumProtocols - the number of protocols stored




More information about the cfe-commits mailing list