[LLVMbugs] [Bug 22122] New: Lambda with invalid trailing return crashes clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 8 03:11:03 PST 2015


            Bug ID: 22122
           Summary: Lambda with invalid trailing return crashes clang
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

template <typename> void f() {
  [](int) -> {};

template void f<int>();

we crash with a null dereference in Sema::CheckParmsForFunctionDef, Param is

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150108/ff23a078/attachment.html>

More information about the llvm-bugs mailing list