[llvm-bugs] [Bug 28080] New: clang-cl does not accept incomplete type in exception specification
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jun 10 10:07:31 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28080
Bug ID: 28080
Summary: clang-cl does not accept incomplete type in exception
specification
Product: clang
Version: 3.8
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: resistor at mac.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
comdef.h and comutil.h make use of exception specifications using incomplete
types. A heavily reduced example is:
class _com_error;
namespace _com_util {
inline void CheckError() throw(_com_error) { }
}
VS2015 happily accepts this.
--
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/20160610/9d5dca64/attachment-0001.html>
More information about the llvm-bugs
mailing list