diff options
author | Eric Christopher <echristo@apple.com> | 2011-10-12 18:39:35 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-10-12 18:39:35 +0000 |
commit | 93663b3c6226fb039aff10cc2edc3df51bf6bc23 (patch) | |
tree | a896daa2415cd71dc86e7f61df16b8ec2790475a /clang/lib/CodeGen/CGClass.cpp | |
parent | 3d68aa838be45dc2bda53c9abd0089c41a177b5f (diff) | |
download | bcm5719-llvm-93663b3c6226fb039aff10cc2edc3df51bf6bc23.tar.gz bcm5719-llvm-93663b3c6226fb039aff10cc2edc3df51bf6bc23.zip |
Revert file/scope handling patches. gdb testing revealed a couple of bugs.
llvm-svn: 141796
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index c28ecc05ded..2ddb5025b15 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -693,7 +693,7 @@ void CodeGenFunction::EmitConstructorBody(FunctionArgList &Args) { // delegation optimization. if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor)) { if (CGDebugInfo *DI = getDebugInfo()) - DI->EmitLocation(Builder, Ctor->getLocEnd()); + DI->EmitLocation(Builder); EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args); return; } |