[llvm-bugs] [Bug 27720] New: Test std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp contains non-void non-returning function

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 12 01:38:02 PDT 2016


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

            Bug ID: 27720
           Summary: Test
                    std/utilities/memory/allocator.uses/allocator.uses.tra
                    it/uses_allocator.pass.cpp contains non-void
                    non-returning function
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bogden at arm.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

This test recently (r266586) gained a non-void function with no explicit
return, causing it to fail when built with -Werror=return-type.

I've offered a patch to fix it at http://reviews.llvm.org/D20014 but am not
certain that it is the correct solution: I'm not sure why the relevant function
is needed at all, so perhaps it is important that it not return.

-- 
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/20160512/c7bd63e6/attachment.html>


More information about the llvm-bugs mailing list