http://llvm.org/bugs/show_bug.cgi?id=10043

Douglas Gregor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Douglas Gregor <[email protected]> 2011-06-01 11:05:21 CDT 
---
g(Y()) doesn't warn in C++98 mode, and never did, because implicitly-declared
copy constructors are always public. We would only detect a problem if we went
ahead and caused the copy constructor to be implicitly defined, but at that
point it's going to be fairly tricky to avoid getting a hard error later on
down the line.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to