[LLVMbugs] [Bug 12062] New: Implement IR generation for conversion of variadic lambda to function pointer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 21 13:58:20 PST 2012


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

             Bug #: 12062
           Summary: Implement IR generation for conversion of variadic
                    lambda to function pointer
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dgregor at apple.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Cove:clang dgregor$ cat t2.cpp 
void f() {
  int (*fp)(int, ...) = [](int x, ...) { return x + 1; };
}
Cove:clang dgregor$ clang++ -std=c++11 t2.cpp 
t2.cpp:2:25: error: cannot compile this lambda conversion to variadic function
      yet
  int (*fp)(int, ...) = [](int x, ...) { return x + 1; };
                        ^
1 error generated.

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