summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCleanup.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-02-03 20:00:54 +0000
committerAdrian Prantl <aprantl@apple.com>2015-02-03 20:00:54 +0000
commit95b24e9b59f7d5f6b29736dd6b7db9b032ce5701 (patch)
treed98996b548857342fa41cb1406d10e748acca83a /clang/lib/CodeGen/CGCleanup.cpp
parent6c5e36ae3be87fefcec9177eae3aacd115905332 (diff)
downloadbcm5719-llvm-95b24e9b59f7d5f6b29736dd6b7db9b032ce5701.tar.gz
bcm5719-llvm-95b24e9b59f7d5f6b29736dd6b7db9b032ce5701.zip
Address review feedback for r228003.
- use named constructors - get rid of MarkAsPrologue llvm-svn: 228021
Diffstat (limited to 'clang/lib/CodeGen/CGCleanup.cpp')
-rw-r--r--clang/lib/CodeGen/CGCleanup.cpp2
1 files changed, 1 insertions, 1 deletions
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();
OpenPOWER on IntegriCloud