diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-20 18:46:14 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-20 18:46:14 +0000 |
commit | 704c8f76bbe2de68375f7f146e75bd74de6dd518 (patch) | |
tree | 96ea11c79792531e3f1915f0dd9d48bba36519fa /lib/CodeGen/CodeGenModule.cpp | |
parent | 3a0b7b6ac7eecf93ad3fdd5b21a34d5a6f20cca4 (diff) |
Fix bug where a class's (deleted) copy constructor would be implicitly given a
non-const reference parameter type if the class had any subobjects with deleted
copy constructors. This causes a rejects-valid if the class's copy constructor
is explicitly defaulted (as happens for some implementations of std::pair etc).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions