[llvm-bugs] [Bug 37809] New: Misuse of _Noreturn in a struct member not diagnosed

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 14 15:00:07 PDT 2018


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

            Bug ID: 37809
           Summary: Misuse of _Noreturn in a struct member not diagnosed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pickensd at synopsys.com
                CC: llvm-bugs at lists.llvm.org

clang fails to diagnose the following misuse of _Noreturn:
--------------------
struct S {
    _Noreturn int v;
};

-- 
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/20180614/b9b830ca/attachment-0001.html>


More information about the llvm-bugs mailing list