https://bugs.llvm.org/show_bug.cgi?id=35783

            Bug ID: 35783
           Summary: Clang is unable to merge identical lambdas
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: jeanmichael.celer...@gmail.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org

Case 1: https://godbolt.org/g/JvmxJr
Case 2: https://godbolt.org/g/FWo12z

Ideally, the compiler should be able to detect that the code is the same and
merge it. 

I opened a similar bug report in GCC:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83582

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to