[LLVMbugs] [Bug 10801] New: clang++ incorrectly reports function could be attribute 'noreturn' in template function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 29 10:25:21 PDT 2011


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

           Summary: clang++ incorrectly reports function could be
                    attribute 'noreturn' in template function
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: oliver at apple.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=7174)
 --> (http://llvm.org/bugs/attachment.cgi?id=7174)
Testcase

The attached code fails to compile in clang++ with -Werror -Wmissing-noreturn,
but compiles fine in gcc, msvc, and llvm-gcc.

<rdar://problem/10031723>

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