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

            Bug ID: 19286
           Summary: Microsoft mangling of return type deducing
                    functions/lambdas that return local types is broken
                    [prelim patch attached]
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

The following code causes clang to enter into an infinite recursion on windows
7 while attempting to microsoft-mangle the following lambda's operator function
type:


auto L = [] () {
     struct M {};
     return M{};
};  

auto X = L();


I have kludged together a quick and dirty patch to identify where the problem
lies, so that those who understand the microsoft-mangling process better can
either help me refine it - or if they prefer - modify it to make it
commit-worthy and commit it.


http://llvm-reviews.chandlerc.com/D3221

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