[LLVMbugs] [Bug 15534] New: Diagnose mismatched exception specifications

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 17 17:15:52 PDT 2013


            Bug ID: 15534
           Summary: Diagnose mismatched exception specifications
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Per discussions in core, we should diagnose this:

template<typename T> void f() noexcept(sizeof(T) == 4);
template<typename T> void f() noexcept(sizeof(T) == 8);

More generally, for a redeclaration of a function template, the
exception-specifications should match under the terms of the ODR.

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/20130318/4efe4194/attachment.html>

More information about the llvm-bugs mailing list