[libc-commits] [PATCH] D145584: [libc] Add support for setjmp and longjmp in riscv

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Mar 15 07:11:36 PDT 2023


mikhail.ramalho added inline comments.


================
Comment at: libc/src/setjmp/setjmp_impl.h:18
 
-int setjmp(__jmp_buf *buf);
+int setjmp(__jmp_buf *buf) __NOEXCEPT;
 
----------------
sivachandra wrote:
> Why not use the `noexcept` keyword instead of `__NOEXCEPT`?
I used the same macro used in `setjmp_impl.h`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145584/new/

https://reviews.llvm.org/D145584



More information about the libc-commits mailing list