void Sema::ActOnAddMethodsToObjcDecl(Scope* S, DeclTy *classDecl,
DeclTy **allMethods, unsigned allNum) {
Decl *ClassDecl = static_cast<Decl *>(classDecl);
-
- // FIXME: Fix this when we can handle methods declared in protocols.
- // See Parser::ParseObjCAtProtocolDeclaration
+
+ // FIXME: If we don't have a ClassDecl, we have an error. I (snaroff) would
+ // prefer we always pass in a decl. If the decl has an error, isInvalidDecl()
+ // should be true.
if (!ClassDecl)
return;
+
llvm::SmallVector<ObjcMethodDecl*, 32> insMethods;
llvm::SmallVector<ObjcMethodDecl*, 16> clsMethods;
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "clang" */;
- compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 08FB7794FE84155DC02AAC07 /* clang */;
projectDirPath = "";