aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-02 02:22:52 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-02 02:22:52 +0000
commita28cb3ee88946deeb8e58d41c1e75de2d93e9cbd (patch)
tree3cf23ac2a953bf33b8d79d98ba5dfe79d9d30680 /lib/Sema/SemaDeclObjC.cpp
parent61cc296de6c1f82fa84c0abb3ecd142a584838ef (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/Sema/SemaDeclObjC.cpp')
-rw-r--r--lib/Sema/SemaDeclObjC.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index 9658174f97..bc35055722 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -615,7 +615,6 @@ Sema::ActOnStartProtocolInterface(SourceLocation AtProtoInterfaceLoc,
/// Check then save referenced protocols.
PDecl->setProtocolList((ObjCProtocolDecl**)ProtoRefs, NumProtoRefs,
ProtoLocs, Context);
- PDecl->setEndOfDefinitionLoc(EndProtoLoc);
}
CheckObjCDeclScope(PDecl);