diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-02 02:22:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-02 02:22:52 +0000 |
commit | a28cb3ee88946deeb8e58d41c1e75de2d93e9cbd (patch) | |
tree | 3cf23ac2a953bf33b8d79d98ba5dfe79d9d30680 /lib/Serialization/ASTWriterDecl.cpp | |
parent | 61cc296de6c1f82fa84c0abb3ecd142a584838ef (diff) |
Eliminate ObjCProtocolDecl's end-of-definition location. It is not
used anywhere.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriterDecl.cpp')
-rw-r--r-- | lib/Serialization/ASTWriterDecl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Serialization/ASTWriterDecl.cpp b/lib/Serialization/ASTWriterDecl.cpp index 8510feca5e..a995e37ee7 100644 --- a/lib/Serialization/ASTWriterDecl.cpp +++ b/lib/Serialization/ASTWriterDecl.cpp @@ -531,7 +531,6 @@ void ASTDeclWriter::VisitObjCProtocolDecl(ObjCProtocolDecl *D) { PLEnd = D->protocol_loc_end(); PL != PLEnd; ++PL) Writer.AddSourceLocation(*PL, Record); - Writer.AddSourceLocation(D->getEndOfDefinitionLoc(), Record); } Code = serialization::DECL_OBJC_PROTOCOL; |