diff options
| author | David Chisnall <csdavec@swan.ac.uk> | 2018-08-10 12:53:18 +0000 |
|---|---|---|
| committer | David Chisnall <csdavec@swan.ac.uk> | 2018-08-10 12:53:18 +0000 |
| commit | b3c11504bd35eada1649eb471acee014b3c9cb97 (patch) | |
| tree | 1cc0ebe4b576ce86a7418e1fdee8cbf6e35e655b /clang/lib | |
| parent | 93ce018f3d1a84a463e5a2c4b0d2a445c91e933d (diff) | |
| download | bcm5719-llvm-b3c11504bd35eada1649eb471acee014b3c9cb97.tar.gz bcm5719-llvm-b3c11504bd35eada1649eb471acee014b3c9cb97.zip | |
Fix a deprecated warning in the last commit.
Done as a separate commit to make it easier to cherry pick the changes
to the release branch.
llvm-svn: 339429
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGObjCRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCRuntime.cpp b/clang/lib/CodeGen/CGObjCRuntime.cpp index 64a9df2bfc0..8390bca7378 100644 --- a/clang/lib/CodeGen/CGObjCRuntime.cpp +++ b/clang/lib/CodeGen/CGObjCRuntime.cpp @@ -205,7 +205,7 @@ void CGObjCRuntime::EmitTryCatchStmt(CodeGenFunction &CGF, // Emit the original filter expression, convert to i32, and return. HelperCGF.EmitStmt(FinallyBlock); - HelperCGF.FinishFunction(FinallyBlock->getLocEnd()); + HelperCGF.FinishFunction(FinallyBlock->getEndLoc()); llvm::Function *FinallyFunc = HelperCGF.CurFn; |

