diff options
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 8cceda2966..ad40cbe845 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -435,7 +435,7 @@ Sema::DeclTy *Sema::ActOnStartCategoryInterface( RefProtocols.push_back(RefPDecl); } if (!RefProtocols.empty()) - CDecl->setReferencedProtocolList(&RefProtocols[0], RefProtocols.size()); + CDecl->addReferencedProtocols(&RefProtocols[0], RefProtocols.size()); } CDecl->setLocEnd(EndProtoLoc); return CDecl; |