[all-commits] [llvm/llvm-project] 48acac: [WebAssembly] Warn on exception spec only when Was...
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Thu May 21 17:10:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 48acac36293805cef10b448d49d336da7db7bfa9
https://github.com/llvm/llvm-project/commit/48acac36293805cef10b448d49d336da7db7bfa9
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2020-05-21 (Thu, 21 May 2020)
Changed paths:
M clang/lib/CodeGen/CGException.cpp
M clang/test/CodeGenCXX/wasm-eh.cpp
Log Message:
-----------
[WebAssembly] Warn on exception spec only when Wasm EH is used
Summary:
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`.
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80362
More information about the All-commits
mailing list