Eliminate ASTMutationListener::UpdatedAttributeList, which is no
longer needed now that we aren't back-patching ObjCProtocolDecls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147413 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index c4261ec..3612e94 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -713,13 +713,8 @@
PushOnScopeChains(PDecl, TUScope);
- if (attrList) {
+ if (attrList)
ProcessDeclAttributeList(TUScope, PDecl, attrList);
- if (PrevDecl) {
- if (ASTMutationListener *L = Context.getASTMutationListener())
- L->UpdatedAttributeList(PDecl);
- }
- }
if (PrevDecl)
mergeDeclAttributes(PDecl, PrevDecl);