Skip to content

Commit 8802c9f

Browse files
authored
[libc] Mark internal __llvm_libc_errno as noexcept (#98760)
The declaration must match the previous declaration in errno.h.
1 parent 4a68654 commit 8802c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/errno/libc_errno.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
namespace LIBC_NAMESPACE_DECL {
3535

36-
extern "C" int *__llvm_libc_errno();
36+
extern "C" int *__llvm_libc_errno() noexcept;
3737

3838
struct Errno {
3939
void operator=(int);

0 commit comments

Comments
 (0)