[all-commits] [llvm/llvm-project] 58c0da: [orc-rt] Add ORC_RT_C_NOTHROW and apply it to the ...

Lang Hames via All-commits all-commits at lists.llvm.org
Fri Jun 12 22:59:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58c0dace6f0a230849910b92a97b00da4d04c2ec
      https://github.com/llvm/llvm-project/commit/58c0dace6f0a230849910b92a97b00da4d04c2ec
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-06-13 (Sat, 13 Jun 2026)

  Changed paths:
    M orc-rt/include/orc-rt-c/Compiler.h
    M orc-rt/include/orc-rt-c/Error.h
    M orc-rt/lib/executor/Error.cpp

  Log Message:
  -----------
  [orc-rt] Add ORC_RT_C_NOTHROW and apply it to the Error C API. (#203674)

Adds an ORC_RT_C_NOTHROW macro that expands to `noexcept` in C++ mode,
and `__attribute__((nothrow))` where that attribute is supported.

Also applies the new ORC_RT_C_NOTHROW macro to orc-rt-c/Error.h (and
adds `noexcept` to the corresponding C++ implementation in
lib/executor/Error.cpp).



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