Skip to content

Commit 984de29

Browse files
petrhosekakshaykumars614
authored andcommitted
[libc] Mark internal __llvm_libc_errno as noexcept (llvm#98760)
The declaration must match the previous declaration in errno.h.
1 parent 1c0a96b commit 984de29

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)