rename setReferencedProtocolList -> addReferencedProtocols to
be consistent with ObjCInterfaceDecl.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53852 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index 8cceda2..ad40cbe 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -435,7 +435,7 @@
         RefProtocols.push_back(RefPDecl);
     }
     if (!RefProtocols.empty())
-      CDecl->setReferencedProtocolList(&RefProtocols[0], RefProtocols.size());
+      CDecl->addReferencedProtocols(&RefProtocols[0], RefProtocols.size());
   }
   CDecl->setLocEnd(EndProtoLoc);
   return CDecl;