mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +00:00
Everywhere: Fix spelling mistakes
This commit is contained in:
parent
168063819d
commit
10ec98dd38
56 changed files with 90 additions and 90 deletions
|
@ -17,7 +17,7 @@ static constexpr int constexpr_sum(const Span<const int> span)
|
|||
return sum;
|
||||
}
|
||||
|
||||
TEST_CASE(compile_time_contructible)
|
||||
TEST_CASE(compile_time_constructible)
|
||||
{
|
||||
constexpr Array<int, 4> array = { 0, 1, 2, 3 };
|
||||
static_assert(array.size() == 4);
|
||||
|
|
|
@ -17,7 +17,7 @@ TEST_CASE(constexpr_default_constructor_is_empty)
|
|||
static_assert(span.is_empty(), "Default constructed span should be empty.");
|
||||
}
|
||||
|
||||
TEST_CASE(implicit_converson_to_const)
|
||||
TEST_CASE(implicit_conversion_to_const)
|
||||
{
|
||||
constexpr Bytes bytes0;
|
||||
[[maybe_unused]] constexpr ReadonlyBytes bytes2 = bytes0;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
static_assert(!trait<__VA_ARGS__>)
|
||||
|
||||
enum class Enummer : u8 {
|
||||
Dummmy,
|
||||
Dummy
|
||||
};
|
||||
|
||||
TEST_CASE(FundamentalTypeClassification)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <AK/Format.h>
|
||||
#include <LibTest/TestCase.h>
|
||||
|
||||
// Note: Needs to be 'noline' so stack canary isn't optimized out.
|
||||
// Note: Needs to be 'noinline' so stack canary isn't optimized out.
|
||||
static void __attribute__((noinline)) smasher(char* string)
|
||||
{
|
||||
#pragma GCC diagnostic push
|
||||
|
@ -18,7 +18,7 @@ static void __attribute__((noinline)) smasher(char* string)
|
|||
#pragma GCC diagnostic pop
|
||||
}
|
||||
|
||||
// Note: Needs to be 'noline' so stack canary isn't optimized out.
|
||||
// Note: Needs to be 'noinline' so stack canary isn't optimized out.
|
||||
static void __attribute__((noinline)) stack_to_smash()
|
||||
{
|
||||
char string[8] = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue