aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/.editorconfig
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-03-29 20:26:38 -0700
committerjade <lix@jade.fyi>2024-04-06 04:40:19 +0000
commit43cf487c256395e03f2e10f1f66b3933f201a4e8 (patch)
tree7cd40af4daf8f3c40f50596bbaeb00f5bbe43676 /clang-tidy/.editorconfig
parent194a1b91af6d8848e4cc0dfbdcc153ee2dbed140 (diff)
Create clang-tidy check to rename all our includes
It is a little bit scuffed, but it seems to produce correct results. We can run it at a later date when we want to explode every in-flight commit in existence and then need to filter-branch them. Fixes: https://git.lix.systems/lix-project/lix/issues/188 Change-Id: Id97e4651f78804a941d941df02c7c1b21ce453b6
Diffstat (limited to 'clang-tidy/.editorconfig')
-rw-r--r--clang-tidy/.editorconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang-tidy/.editorconfig b/clang-tidy/.editorconfig
new file mode 100644
index 000000000..19ee09eec
--- /dev/null
+++ b/clang-tidy/.editorconfig
@@ -0,0 +1,4 @@
+# LLVM style code is 2-space indented
+[*.{cc,hh}]
+indent_style = space
+indent_size = 2