Skip to content

Commit

Permalink
[libc] Mark internal __llvm_libc_errno as noexcept
Browse files Browse the repository at this point in the history
The declaration must match the previous declaration in errno.h.
  • Loading branch information
petrhosek committed Jul 13, 2024
1 parent 4a68654 commit bbbe2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/src/errno/libc_errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

namespace LIBC_NAMESPACE_DECL {

extern "C" int *__llvm_libc_errno();
extern "C" int *__llvm_libc_errno() noexcept;

struct Errno {
void operator=(int);
Expand Down

0 comments on commit bbbe2b2

Please sign in to comment.