aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-09-28 14:55:53 +0000
committerSteve Naroff <snaroff@apple.com>2008-09-28 14:55:53 +0000
commite84a864a7871243d7c60441f399a309dea076f5c (patch)
treebc983110d429175344ccb11d7a16c77766843656 /lib/Sema/SemaDeclObjC.cpp
parentae530cfaf65e36fdcecb16d072422eb3d2a4518e (diff)
Fix <rdar://problem/6252129> implementation of method in category doesn't effectively declare it for methods below.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56771 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--lib/Sema/SemaDeclObjC.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index a09daa0814..0241655026 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -429,6 +429,7 @@ Sema::DeclTy *Sema::ActOnStartCategoryImplementation(
/// TODO: Check that CatName, category name, is not used in another
// implementation.
+ ObjCCategoryImpls.push_back(CDecl);
return CDecl;
}