diff options
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r-- | clang/lib/AST/DeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp index a1011b830e1..5da762e1fbf 100644 --- a/clang/lib/AST/DeclObjC.cpp +++ b/clang/lib/AST/DeclObjC.cpp @@ -452,8 +452,8 @@ void ObjCProtocolDecl::addMethods(ObjCMethodDecl **insMethods, AtEndLoc = endLoc; } -void ObjCCategoryDecl::setReferencedProtocolList(ObjCProtocolDecl **List, - unsigned NumRPs) { +void ObjCCategoryDecl::addReferencedProtocols(ObjCProtocolDecl **List, + unsigned NumRPs) { assert(NumReferencedProtocols == 0 && "Protocol list already set"); if (NumRPs == 0) return; |