Skip to content

Commit dbdaa36

Browse files
committed
[libc] use cpp11 attribute syntax
Signed-off-by: Shreeyash Pandey <[email protected]>
1 parent adfd732 commit dbdaa36

File tree

1 file changed

+1
-1
lines changed
  • libc/src/__support/OSUtil/darwin

1 file changed

+1
-1
lines changed

libc/src/__support/OSUtil/darwin/exit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace LIBC_NAMESPACE_DECL {
1515
namespace internal {
1616

17-
__attribute__((noreturn)) void exit(int status) {
17+
[[noreturn]] void exit(int status) {
1818
for (;;) {
1919
LIBC_NAMESPACE::syscall_impl<long>(SYS_exit, status);
2020
}

0 commit comments

Comments
 (0)