summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-01-07 19:24:24 +0000
committerAdrian Prantl <aprantl@apple.com>2014-01-07 19:24:24 +0000
commitf5ff0dc29b3129c26c06682f06a871d37090b6bd (patch)
treea8e05c6888fbf44fd0e7b4aa7ea937888305319e /clang/lib/CodeGen/CGStmt.cpp
parent70d4ba7f19a920087c1201a68a997f54bb878894 (diff)
downloadbcm5719-llvm-f5ff0dc29b3129c26c06682f06a871d37090b6bd.tar.gz
bcm5719-llvm-f5ff0dc29b3129c26c06682f06a871d37090b6bd.zip
Debug info: Implement a cleaner version of r198461. For symmetry with
C and C++ don't emit an extra lexical scope for the compound statement that is the body of an Objective-C method. rdar://problem/15010825 llvm-svn: 198699
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index 50882c8536b..b18ff09015a 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -37,7 +37,7 @@ void CodeGenFunction::EmitStopPoint(const Stmt *S) {
Loc = S->getLocStart();
DI->EmitLocation(Builder, Loc);
- LastStopPoint = std::make_pair(Loc, DI->getScope());
+ LastStopPoint = Loc;
}
}
OpenPOWER on IntegriCloud