Patch for building method declaration nodes. Also fixed a segfault in cocoa.m due
to use of @property.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41880 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Parse/ParseObjc.cpp b/Parse/ParseObjc.cpp
index 803fe2f..7ddcaab 100644
--- a/Parse/ParseObjc.cpp
+++ b/Parse/ParseObjc.cpp
@@ -229,7 +229,7 @@
ConsumeToken();
continue;
} else if (ocKind == tok::objc_property) {
- ParseObjCPropertyDecl(0/*FIXME*/);
+ ParseObjCPropertyDecl(interfaceDecl);
continue;
} else {
Diag(Tok, diag::err_objc_illegal_interface_qual);