In D80061 we added warning for exception specifications with types (such
as throw(int)), but it was enabled every time the target was wasm,
which means it warned (and ignored) exception specifications even if
wasm EH was not used. This fixes it and we only have the warning when we
enable -fwasm-exceptions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
otherwise LGTM
clang/docs/DiagnosticsReference.rst | ||
---|---|---|
14018 ↗ | (On Diff #265432) | I think it's not actually necessary to change the text of the warning. Since the warning is about an exception handling language feature, I think adding "exception handling" on the end doesn't make it any more clear and sounds a little redundant to me. |