mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
8639d8bc21
commit
d26aabff04
140 changed files with 1202 additions and 723 deletions
|
@ -166,7 +166,7 @@ TEST_CASE(IsAssignable)
|
|||
EXPECT_TRAIT_TRUE(IsTriviallyMoveAssignable, A);
|
||||
|
||||
struct B {
|
||||
B& operator=(const B&) { return *this; }
|
||||
B& operator=(B const&) { return *this; }
|
||||
B& operator=(B&&) { return *this; }
|
||||
};
|
||||
EXPECT_TRAIT_TRUE(IsCopyAssignable, B);
|
||||
|
@ -175,7 +175,7 @@ TEST_CASE(IsAssignable)
|
|||
EXPECT_TRAIT_FALSE(IsTriviallyMoveAssignable, B);
|
||||
|
||||
struct C {
|
||||
C& operator=(const C&) = delete;
|
||||
C& operator=(C const&) = delete;
|
||||
C& operator=(C&&) = delete;
|
||||
};
|
||||
EXPECT_TRAIT_FALSE(IsCopyAssignable, C);
|
||||
|
@ -194,7 +194,7 @@ TEST_CASE(IsConstructible)
|
|||
EXPECT_TRAIT_TRUE(IsTriviallyMoveConstructible, A);
|
||||
|
||||
struct B {
|
||||
B(const B&)
|
||||
B(B const&)
|
||||
{
|
||||
}
|
||||
B(B&&)
|
||||
|
@ -207,7 +207,7 @@ TEST_CASE(IsConstructible)
|
|||
EXPECT_TRAIT_FALSE(IsTriviallyMoveConstructible, B);
|
||||
|
||||
struct C {
|
||||
C(const C&) = delete;
|
||||
C(C const&) = delete;
|
||||
C(C&&) = delete;
|
||||
};
|
||||
EXPECT_TRAIT_FALSE(IsCopyConstructible, C);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue