diff options
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r-- | clang/lib/AST/DeclObjC.cpp | 1 |
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); } |