diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-22 17:07:25 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-05 18:54:55 +0100 |
| commit | b9c38a48cad935e01b96fc11df94763c85c98ee9 (patch) | |
| tree | e39206a6bd64fc73a52a033a8747be5461dc6a03 /tests | |
| parent | 059fbc487c62a5e109143254b720a5dc33201a34 (diff) | |
indents: refactor hanging indent
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/indent/c/initializer_list.c | 3 | ||||
| -rw-r--r-- | tests/indent/cpp/initializer_list.cpp | 22 |
2 files changed, 11 insertions, 14 deletions
diff --git a/tests/indent/c/initializer_list.c b/tests/indent/c/initializer_list.c deleted file mode 100644 index 9bf28d94..00000000 --- a/tests/indent/c/initializer_list.c +++ /dev/null @@ -1,3 +0,0 @@ -int a[] = { - 1, 2, 3, - 4}; diff --git a/tests/indent/cpp/initializer_list.cpp b/tests/indent/cpp/initializer_list.cpp index 5a27d17f..d34ed025 100644 --- a/tests/indent/cpp/initializer_list.cpp +++ b/tests/indent/cpp/initializer_list.cpp @@ -1,17 +1,17 @@ class Foo { - Foo(int a, int b, int c, int d) - : m_a(a) - , m_b(b) - , m_c(c) - , m_d(d) {} + Foo(int a, int b, int c, int d) + : m_a(a) + , m_b(b) + , m_c(c) + , m_d(d) {} - Foo(int a, int b, int c) : - m_a(a), - m_b(b), - m_c(c) - {} + Foo(int a, int b, int c) : + m_a(a), + m_b(b), + m_c(c) + {} - int m_a, m_b, m_c, m_d; + int m_a, m_b, m_c, m_d; }; |
