summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-01 20:33:24 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-01 20:33:24 +0000
commit42ff1bb922ba84dea77d06927a585b965ffcdc65 (patch)
tree673583c1daee81f346ca0997e462616463e1e182 /clang/lib/Serialization/ASTWriter.cpp
parent32c17577303d28236489c9a6be250de376578636 (diff)
downloadbcm5719-llvm-42ff1bb922ba84dea77d06927a585b965ffcdc65.tar.gz
bcm5719-llvm-42ff1bb922ba84dea77d06927a585b965ffcdc65.zip
Eliminate ASTMutationListener::UpdatedAttributeList, which is no
longer needed now that we aren't back-patching ObjCProtocolDecls. llvm-svn: 147413
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r--clang/lib/Serialization/ASTWriter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp
index e59a3d39d16..509200a696e 100644
--- a/clang/lib/Serialization/ASTWriter.cpp
+++ b/clang/lib/Serialization/ASTWriter.cpp
@@ -4482,10 +4482,3 @@ void ASTWriter::AddedObjCPropertyInClassExtension(const ObjCPropertyDecl *Prop,
RewriteDecl(D);
}
-void ASTWriter::UpdatedAttributeList(const Decl *D) {
- assert(!WritingAST && "Already writing the AST!");
- if (!D->isFromASTFile())
- return; // Declaration not imported from PCH.
-
- RewriteDecl(D);
-}
OpenPOWER on IntegriCloud