summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprCXX.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-31 07:33:07 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-31 07:33:07 +0000
commit5d865c3292f2fcb349a27b7297ec300dc8d472a9 (patch)
tree1d0875f89d4e694a9f795369ea8c1404465b83ea /clang/lib/CodeGen/CGExprCXX.cpp
parent618d21978d2707de2727268eb4930cb6ce57929d (diff)
downloadbcm5719-llvm-5d865c3292f2fcb349a27b7297ec300dc8d472a9.tar.gz
bcm5719-llvm-5d865c3292f2fcb349a27b7297ec300dc8d472a9.zip
Teach IR generation to return 'this' from constructors and destructors
under the ARM ABI. llvm-svn: 112588
Diffstat (limited to 'clang/lib/CodeGen/CGExprCXX.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprCXX.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprCXX.cpp b/clang/lib/CodeGen/CGExprCXX.cpp
index 61831543b41..34d7a764b23 100644
--- a/clang/lib/CodeGen/CGExprCXX.cpp
+++ b/clang/lib/CodeGen/CGExprCXX.cpp
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "CodeGenFunction.h"
+#include "CGCXXABI.h"
#include "CGObjCRuntime.h"
#include "llvm/Intrinsics.h"
using namespace clang;
OpenPOWER on IntegriCloud