diff options
| author | Stephen Kelly <steveire@gmail.com> | 2018-08-09 21:09:38 +0000 |
|---|---|---|
| committer | Stephen Kelly <steveire@gmail.com> | 2018-08-09 21:09:38 +0000 |
| commit | 2dfd8132cf7984a86fd4cfc9d84f2195d60205ef (patch) | |
| tree | 6af8bbd1c911945732be0a9272736594124e5b96 /lib/CodeGen/CoverageMappingGen.cpp | |
| parent | d7b659b592e6aaa6659904d346a0cacfa18d1661 (diff) | |
| download | clang-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/CodeGen/CoverageMappingGen.cpp')
| -rw-r--r-- | lib/CodeGen/CoverageMappingGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CoverageMappingGen.cpp b/lib/CodeGen/CoverageMappingGen.cpp index b45b7b092e..c51c964b2d 100644 --- a/lib/CodeGen/CoverageMappingGen.cpp +++ b/lib/CodeGen/CoverageMappingGen.cpp @@ -213,7 +213,7 @@ public: /// Get the end of \c S ignoring macro arguments and builtin macros. SourceLocation getEnd(const Stmt *S) { - SourceLocation Loc = S->getLocEnd(); + SourceLocation Loc = S->getEndLoc(); while (SM.isMacroArgExpansion(Loc) || isInBuiltin(Loc)) Loc = SM.getImmediateExpansionRange(Loc).getBegin(); return getPreciseTokenLocEnd(Loc); |
