]> granicus.if.org Git - clang/commit
implement initial codegen for aggregate return functions. This implements
authorChris Lattner <sabre@nondot.org>
Fri, 10 Aug 2007 17:02:28 +0000 (17:02 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Aug 2007 17:02:28 +0000 (17:02 +0000)
commitcc666af7d40826e6863b9baea2e90c0b46f68b1a
tree7c15915042761a5803bf7e79f5cfdf2cd2d64a74
parent461766a5c05a90788af05fdc8cf0645599fb042b
implement initial codegen for aggregate return functions.  This implements
codegen for:

_Complex double bar(int);
void test(_Complex double*);

void test2(int c) {
  _Complex double X;
  X = bar(1);
  test(&X);
}

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40993 91177308-0d34-0410-b5e6-96231b3b80d8
CodeGen/CGExpr.cpp
CodeGen/CodeGenFunction.cpp