Author: theraven Date: Fri Aug 10 05:53:18 2018 New Revision: 339429 URL: http://llvm.org/viewvc/llvm-project?rev=339429&view=rev Log: 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. Modified: cfe/trunk/lib/CodeGen/CGObjCRuntime.cpp Modified: cfe/trunk/lib/CodeGen/CGObjCRuntime.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCRuntime.cpp?rev=339429&r1=339428&r2=339429&view=diff ============================================================================== --- cfe/trunk/lib/CodeGen/CGObjCRuntime.cpp (original) +++ cfe/trunk/lib/CodeGen/CGObjCRuntime.cpp Fri Aug 10 05:53:18 2018 @@ -205,7 +205,7 @@ void CGObjCRuntime::EmitTryCatchStmt(Cod // 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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits