[all-commits] [llvm/llvm-project] e29b70: [WebAssembly][Clang] Add __builtin_wasm_ref_is_nu...

Hood Chatham via All-commits all-commits at lists.llvm.org
Tue May 13 21:37:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e29b70ee11c168475f15064c68c4a7e76c08d269
      https://github.com/llvm/llvm-project/commit/e29b70ee11c168475f15064c68c4a7e76c08d269
  Author: Hood Chatham <roberthoodchatham at gmail.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsWebAssembly.def
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/SemaWasm.h
    M clang/lib/CodeGen/TargetBuiltins/WebAssembly.cpp
    M clang/lib/Sema/SemaWasm.cpp
    M clang/test/CodeGen/builtins-wasm.c
    M clang/test/Sema/builtins-wasm.c

  Log Message:
  -----------
  [WebAssembly][Clang] Add  __builtin_wasm_ref_is_null_extern (#139580)

I also fixed __builtin_wasm_ref_null_extern() to generate a diagnostic
when it gets an argument. It seems like `SemaRef.checkArgCount()` has a
bug that makes it unable to check for 0 args.



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