From 95b24e9b59f7d5f6b29736dd6b7db9b032ce5701 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 3 Feb 2015 20:00:54 +0000 Subject: Address review feedback for r228003. - use named constructors - get rid of MarkAsPrologue llvm-svn: 228021 --- clang/lib/CodeGen/CGCleanup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGCleanup.cpp') diff --git a/clang/lib/CodeGen/CGCleanup.cpp b/clang/lib/CodeGen/CGCleanup.cpp index a75a7af453e..bda8d8e942c 100644 --- a/clang/lib/CodeGen/CGCleanup.cpp +++ b/clang/lib/CodeGen/CGCleanup.cpp @@ -861,7 +861,7 @@ void CodeGenFunction::PopCleanupBlock(bool FallthroughIsBranchThrough) { // Emit the EH cleanup if required. if (RequiresEHCleanup) { - ApplyDebugLocation AL(*this, ApplyDebugLocation::Artificial, CurEHLocation); + auto AL = ApplyDebugLocation::CreateDefaultArtificial(*this, CurEHLocation); CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); -- cgit v1.2.3