aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-31 20:29:10 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-04-01 01:26:53 +0300
commite3e83e2acdec877c527b36542fc64867c5943f77 (patch)
tree990b4908dc8a6fa19a4164f1e7ef79f0ce08ab55 /test cases
parent2a030e33f3c000134fd0d19204133befcae338c2 (diff)
downloadmeson-e3e83e2acdec877c527b36542fc64867c5943f77.zip
meson-e3e83e2acdec877c527b36542fc64867c5943f77.tar.gz
meson-e3e83e2acdec877c527b36542fc64867c5943f77.tar.bz2
Also format headers with Clang-Format. Closes #5184.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/unit/53 clang-format/header_expected_h3
-rw-r--r--test cases/unit/53 clang-format/header_orig_h9
2 files changed, 12 insertions, 0 deletions
diff --git a/test cases/unit/53 clang-format/header_expected_h b/test cases/unit/53 clang-format/header_expected_h
new file mode 100644
index 0000000..4303176
--- /dev/null
+++ b/test cases/unit/53 clang-format/header_expected_h
@@ -0,0 +1,3 @@
+#pragma once
+
+int fun(int argc);
diff --git a/test cases/unit/53 clang-format/header_orig_h b/test cases/unit/53 clang-format/header_orig_h
new file mode 100644
index 0000000..f2222f3
--- /dev/null
+++ b/test cases/unit/53 clang-format/header_orig_h
@@ -0,0 +1,9 @@
+#pragma once
+
+int
+fun
+(
+int
+argc
+)
+;