commit | 68c82cf61228102aba1194efef222fa1478af2a8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 16 20:47:45 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 16 20:47:45 2008 +0000 |
tree | 494b30fcfa056a98dd5c9958661d1529da69fc9e | |
parent | 61f9d41036e30ff80130f99b31c0626e3ef057cc [diff] |
simplify the way ObjCCategoryDecl's get their referenced protocols list specified. Previously, the ctor would allocate memory for the list and then it would get filled in later. Move the allocation+filling in to be more consistent with other stuff, e.g. the addMethods method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48427 91177308-0d34-0410-b5e6-96231b3b80d8