diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-21 17:23:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-21 17:23:15 +0000 |
commit | f7b2c98c16dfb2261ea57d40a1d5bc4738e73175 (patch) | |
tree | e34e2326c4e3707958c4686c36e03aa9d839e50e /lib/AST/DeclObjC.cpp | |
parent | 04b290030eee33295600728450f348989d1a627e (diff) |
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
Diffstat (limited to 'lib/AST/DeclObjC.cpp')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index a1011b830e..5da762e1fb 100644 --- a/lib/AST/DeclObjC.cpp +++ b/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; |