PCH (de-)serialization for ObjCImplDecl. This can't be tested yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69855 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp
index 3bffbf5..49ff6d5 100644
--- a/lib/AST/DeclObjC.cpp
+++ b/lib/AST/DeclObjC.cpp
@@ -543,6 +543,7 @@
void ObjCImplDecl::addPropertyImplementation(ASTContext &Context,
ObjCPropertyImplDecl *property) {
+ // FIXME: The context should be correct before we get here.
property->setLexicalDeclContext(this);
addDecl(Context, property);
}