summaryrefslogtreecommitdiff
path: root/lib/ARCMigrate/TransProtectedScope.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2018-08-09 21:09:38 +0000
committerStephen Kelly <steveire@gmail.com>2018-08-09 21:09:38 +0000
commit2dfd8132cf7984a86fd4cfc9d84f2195d60205ef (patch)
tree6af8bbd1c911945732be0a9272736594124e5b96 /lib/ARCMigrate/TransProtectedScope.cpp
parentd7b659b592e6aaa6659904d346a0cacfa18d1661 (diff)
downloadclang-2dfd8132cf7984a86fd4cfc9d84f2195d60205ef.tar.gz
Port getLocEnd -> getEndLoc
Reviewers: teemperor! Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D50351 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate/TransProtectedScope.cpp')
-rw-r--r--lib/ARCMigrate/TransProtectedScope.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ARCMigrate/TransProtectedScope.cpp b/lib/ARCMigrate/TransProtectedScope.cpp
index e9485e4bdb..bfc542e749 100644
--- a/lib/ARCMigrate/TransProtectedScope.cpp
+++ b/lib/ARCMigrate/TransProtectedScope.cpp
@@ -73,7 +73,7 @@ public:
Curr = Curr->getNextSwitchCase();
}
- SourceLocation NextLoc = S->getLocEnd();
+ SourceLocation NextLoc = S->getEndLoc();
Curr = S->getSwitchCaseList();
// We iterate over case statements in reverse source-order.
while (Curr) {