[PATCH] D62435: Add Attribute NoThrow as an Exception Specifier Type
Martin Storsjö via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 1 12:05:41 PDT 2019
mstorsjo added a comment.
This change had another breaking effect as well, for the MinGW target. Code that implements a COM interface easily ends up overriding a `__declspec(nothrow)` function with a method that in most cases (at least in cases that follow the microsoft sample code) lacks the same attribute. For code with `-fms-extensions`, this is a warning (as all exception spec mismatches are non-fatal there), but MinGW code doesn't necessarily use this option. See https://bugs.llvm.org/show_bug.cgi?id=42100 for full issue report and discussion.
CHANGES SINCE LAST ACTION
More information about the cfe-commits