diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-01 20:33:24 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-01 20:33:24 +0000 |
commit | 3937f87e53b3ee0c8da93536f48f6f96c006309d (patch) | |
tree | 7d51a69be998280f3ea5a06b37566b6664a8dbf6 /lib/Sema/SemaDeclObjC.cpp | |
parent | 27c6da284f90e32cda0ec8f52a2b6ba5a2613252 (diff) |
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
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index c4261ecbb8..3612e94371 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -713,13 +713,8 @@ Sema::ActOnForwardProtocolDeclaration(SourceLocation AtProtocolLoc, 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); |