summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index f22b5b435b0..27e6a6df65e 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -396,7 +396,7 @@ void ObjCInterfaceDecl::addLayoutToClass(ASTContext &Context)
RD->addDecl(Context, Field);
}
RD->completeDefinition(Context);
- setRecordForDecl(RD);
+ RecordForDecl = RD;
}
/// ObjCAddInstanceVariablesToClassImpl - Checks for correctness of Instance
OpenPOWER on IntegriCloud