This patch introduces the ObjcCategoryImplDecl class and does the checking related to
unimplemented methods in category implementation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42531 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Parse/ParseObjc.cpp b/Parse/ParseObjc.cpp
index ea53659..cda2ab5 100644
--- a/Parse/ParseObjc.cpp
+++ b/Parse/ParseObjc.cpp
@@ -934,7 +934,10 @@
return 0;
}
rparenLoc = ConsumeParen();
- return 0;
+ DeclTy *ImplCatType = Actions.ObjcStartCategoryImplementation(CurScope,
+ atLoc, nameId, nameLoc, categoryId,
+ categoryLoc);
+ return ImplCatType;
}
// We have a class implementation
SourceLocation superClassLoc;