Skip to content

Commit 630283c

Browse files
committed
[libc] Fix misplaced [[noreturn]] attribute.
Summary: This needs to go after `extern "C"`.
1 parent c6d419c commit 630283c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/OSUtil/baremetal/quick_exit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "src/__support/OSUtil/quick_exit.h"
1010

1111
// This is intended to be provided by the vendor.
12-
[[noreturn]] extern "C" void __llvm_libc_quick_exit(int status);
12+
extern "C" [[noreturn]] void __llvm_libc_quick_exit(int status);
1313

1414
namespace LIBC_NAMESPACE {
1515

0 commit comments

Comments
 (0)