mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
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:
committed by
Andrew Kaster
parent
ca9f3673c5
commit
7280ed6312
Notes:
github-actions[bot]
2025-05-14 08:06:48 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/7280ed63122 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4715 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/InvalidUsernameException
@@ -1010,9 +1010,11 @@ DEFINE_WASM_NATIVE_ERROR_PROTOTYPE(RuntimeError, runtime_error, RuntimeErrorProt
|
||||
}
|
||||
|
||||
namespace Web::Bindings {
|
||||
|
||||
DEFINE_WASM_ERROR_PROTOTYPE_AND_CONSTRUCTOR_WEB_INTRINSIC(CompileError, compile_error, CompileErrorPrototype, CompileErrorConstructor)
|
||||
DEFINE_WASM_ERROR_PROTOTYPE_AND_CONSTRUCTOR_WEB_INTRINSIC(LinkError, link_error, LinkErrorPrototype, LinkErrorConstructor)
|
||||
DEFINE_WASM_ERROR_PROTOTYPE_AND_CONSTRUCTOR_WEB_INTRINSIC(RuntimeError, runtime_error, RuntimeErrorPrototype, RuntimeErrorConstructor)
|
||||
|
||||
}
|
||||
|
||||
#undef DEFINE_WASM_ERROR_PROTOTYPE_AND_CONSTRUCTOR_WEB_INTRINSIC
|
||||
|
||||
Reference in New Issue
Block a user