[LLVMbugs] [Bug 14499] New: assert on unused deleted copy constructor with default argument

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 3 14:21:16 PST 2012


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

             Bug #: 14499
           Summary: assert on unused deleted copy constructor with default
                    argument
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Clang asserts in IRGen when given this:

struct S { S(int); S(const S & = 0) = delete; } s(0);

Apparently IRGen is trying to look at the exception specification for the
deleted copy constructor?

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



More information about the llvm-bugs mailing list