[all-commits] [llvm/llvm-project] 4e3e4f: [WASM] add CheckWasmTableElement helper (#181172)

Jameson Nash via All-commits all-commits at lists.llvm.org
Mon Mar 2 14:47:13 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e3e4f25bc4a23de29a358953317dd71e45982e8
      https://github.com/llvm/llvm-project/commit/4e3e4f25bc4a23de29a358953317dd71e45982e8
  Author: Jameson Nash <vtjnash at gmail.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M clang/lib/Sema/SemaWasm.cpp
    M clang/test/CodeGen/WebAssembly/builtins-table-externref.c

  Log Message:
  -----------
  [WASM] add CheckWasmTableElement helper (#181172)

Discard qualifiers from the types (e.g. addrspace, volatile, etc) before
checking that the underlying types are the same, and DRY the code to
emit a consistent Sema.Diag before returning failure.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list