]> granicus.if.org Git - clang/commit
Handle references correctly when synthesizing copy constructors.
authorAnders Carlsson <andersca@mac.com>
Tue, 24 Nov 2009 21:08:10 +0000 (21:08 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 24 Nov 2009 21:08:10 +0000 (21:08 +0000)
commite9cbf15b2ebedebc8bb8e162bb5cf25abd70f578
tree4f6ee656c155002b9dcd13d5de9c1a0fb01dfd5a
parent26416068d3eb883a280fdceeffa74fffc9131031
Handle references correctly when synthesizing copy constructors.

With this change, the clang-on-clang test result is now

Expected Passes    : 224
Unexpected Failures: 37

Which means that we can compile over 80% of clang with clang! :)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89799 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
test/CodeGenCXX/copy-constructor-synthesis.cpp