mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -21,7 +21,7 @@ constexpr unsigned int_hash(u32 key)
|
|||
|
||||
constexpr unsigned double_hash(u32 key)
|
||||
{
|
||||
const unsigned magic = 0xBA5EDB01;
|
||||
unsigned const magic = 0xBA5EDB01;
|
||||
if (key == magic)
|
||||
return 0u;
|
||||
if (key == 0u)
|
||||
|
@ -53,7 +53,7 @@ constexpr unsigned ptr_hash(FlatPtr ptr)
|
|||
return int_hash(ptr);
|
||||
}
|
||||
|
||||
inline unsigned ptr_hash(const void* ptr)
|
||||
inline unsigned ptr_hash(void const* ptr)
|
||||
{
|
||||
return ptr_hash(FlatPtr(ptr));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue