summaryrefslogtreecommitdiff
path: root/lib/Analysis/CloneDetection.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2018-08-09 21:08:08 +0000
committerStephen Kelly <steveire@gmail.com>2018-08-09 21:08:08 +0000
commitd7b659b592e6aaa6659904d346a0cacfa18d1661 (patch)
treee6b7f265e398995b32ffd8352dc00cd3c837f408 /lib/Analysis/CloneDetection.cpp
parenta7d278685d70b3cf693b12941cae4bba91d260d6 (diff)
downloadclang-d7b659b592e6aaa6659904d346a0cacfa18d1661.tar.gz
Port getLocStart -> getBeginLoc
Reviewers: teemperor! Subscribers: jholewinski, whisperity, jfb, cfe-commits Differential Revision: https://reviews.llvm.org/D50350 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CloneDetection.cpp')
-rw-r--r--lib/Analysis/CloneDetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CloneDetection.cpp b/lib/Analysis/CloneDetection.cpp
index deabee9239..38db6ccb92 100644
--- a/lib/Analysis/CloneDetection.cpp
+++ b/lib/Analysis/CloneDetection.cpp
@@ -78,7 +78,7 @@ ASTContext &StmtSequence::getASTContext() const {
}
SourceLocation StmtSequence::getBeginLoc() const {
- return front()->getLocStart();
+ return front()->getBeginLoc();
}
SourceLocation StmtSequence::getEndLoc() const { return back()->getLocEnd(); }