aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--lib/Sema/SemaDeclObjC.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index 029770d3a9..c30a7b26e1 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -659,9 +659,6 @@ Sema::DeclPtrTy Sema::ActOnStartClassImplementation(
IDecl->setLocEnd(ClassLoc);
PushOnScopeChains(IDecl, TUScope);
- CurContext->addDecl(Context, IDecl);
- // Remember that this needs to be removed when the scope is popped.
- TUScope->AddDecl(DeclPtrTy::make(IDecl));
} else {
// Mark the interface as being completed, even if it was just as
// @class ....;