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

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Mar 8 10:16:53 PST 2023


michaelrj added inline comments.


================
Comment at: libc/src/setjmp/longjmp.h:16
 
-void longjmp(__jmp_buf *buf, int val);
+void longjmp(__jmp_buf *buf, int val) __NOEXCEPT;
 
----------------
so far we've only been annotating functions with noexcept in the public headers. I'm not sure it's necessary here and below.


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