Meta: Enforce newlines around namespaces

This has come up several times during code review, so let's just enforce
it using a new clang-format 20 option.
This commit is contained in:
Timothy Flynn 2025-05-13 07:06:33 -04:00 committed by Andrew Kaster
commit 7280ed6312
Notes: github-actions[bot] 2025-05-14 08:06:48 +00:00
206 changed files with 448 additions and 0 deletions

View file

@ -1221,9 +1221,11 @@ FDFlags fd_flags_of(struct stat const&)
FDFlags::Bits result {};
return FDFlags { result };
}
}
namespace AK {
template<>
struct Formatter<Wasm::Wasi::Errno> : AK::Formatter<FormatString> {
ErrorOr<void> format(FormatBuilder& builder, Wasm::Wasi::Errno const& value)
@ -1291,4 +1293,5 @@ struct Formatter<Wasm::Wasi::SockRecvResult> : AK::Formatter<FormatString> {
return Formatter<FormatString>::format(builder, "size={}"sv, value.size);
}
};
}