summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-23 02:42:49 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-23 02:42:49 +0000
commit9a13efd5b2b7af82c27d63bc171819460689b451 (patch)
tree85e03daa564f907b1ed1514dfd444644d12bed40 /clang/lib/AST/DeclObjC.cpp
parent0781ce7cce39214b3d860934be70ea1619dedcc1 (diff)
downloadbcm5719-llvm-9a13efd5b2b7af82c27d63bc171819460689b451.tar.gz
bcm5719-llvm-9a13efd5b2b7af82c27d63bc171819460689b451.zip
PCH (de-)serialization for ObjCImplDecl. This can't be tested yet.
llvm-svn: 69855
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index 3bffbf54ac5..49ff6d53c00 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -543,6 +543,7 @@ ObjCCategoryImplDecl::Create(ASTContext &C, DeclContext *DC,
void ObjCImplDecl::addPropertyImplementation(ASTContext &Context,
ObjCPropertyImplDecl *property) {
+ // FIXME: The context should be correct before we get here.
property->setLexicalDeclContext(this);
addDecl(Context, property);
}
OpenPOWER on IntegriCloud