http://llvm.org/bugs/show_bug.cgi?id=15534
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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs