]> granicus.if.org Git - clang/commitdiff
Fix windows bot
authorManman Ren <manman.ren@gmail.com>
Sat, 20 Aug 2016 02:28:15 +0000 (02:28 +0000)
committerManman Ren <manman.ren@gmail.com>
Sat, 20 Aug 2016 02:28:15 +0000 (02:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279357 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Type.h

index 45a3d3cd2893dceb6bd36c1fd61cef22d2f130f8..3012349047d412b38b657f2a260339267f457014 100644 (file)
@@ -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