[all-commits] [llvm/llvm-project] bca347: [WebAssembly] Handle exception specifications

Heejin Ahn via All-commits all-commits at lists.llvm.org
Fri May 15 21:15:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bca347508c86647f9d44992275c9a364fbd9fb0d
      https://github.com/llvm/llvm-project/commit/bca347508c86647f9d44992275c9a364fbd9fb0d
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGException.cpp
    M clang/test/CodeGenCXX/wasm-eh.cpp

  Log Message:
  -----------
  [WebAssembly] Handle exception specifications

Summary:
Wasm currently does not fully handle exception specifications. Rather
than crashing, this treats `throw()` in the same way as `noexcept`, and
ignores and prints a warning for `throw(type, ..)`, for a temporary
measure.

Reviewers: dschuff

Subscribers: sbc100, jgravelle-google, sunfish, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79655




More information about the All-commits mailing list