Skip to content
Commit 83c478d3 authored by Richard Smith's avatar Richard Smith
Browse files

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).

llvm-svn: 155218
parent 134ce10d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment