Skip to content

Commit

Permalink
Fix attribute ordering
Browse files Browse the repository at this point in the history
The old order didn't conform to the C++ standard and LLVM has stopped
allowing this.

https://reviews.llvm.org/D126061
  • Loading branch information
lucashecht committed Oct 6, 2024
1 parent 10af879 commit 01ad496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace mk
/// @return Returns bsl::errc_success on success, bsl::errc_failure
/// otherwise
///
[[nodiscard]] extern "C" auto
extern "C" [[nodiscard]] auto
dispatch_syscall_trampoline(tls_t *const pmut_tls) noexcept -> bsl::uint64
{
bsl::expects(nullptr != pmut_tls);
Expand Down Expand Up @@ -145,7 +145,7 @@ namespace mk
/// @return Returns bsl::errc_success on success, bsl::errc_failure
/// otherwise
///
[[nodiscard]] extern "C" auto
extern "C" [[nodiscard]] auto
mk_main(loader::mk_args_t *const pmut_args, tls_t *const pmut_tls) noexcept -> bsl::errc_type
{
bsl::expects(nullptr != pmut_tls);
Expand Down

0 comments on commit 01ad496

Please sign in to comment.