summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2024-02-04 14:43:37 +0000
committerAiden Gall <aiden@aidengall.xyz>2024-02-04 14:46:37 +0000
commitc44d2805ba480fc7c2faf8ae07f2c1c9febf7e34 (patch)
tree0171574e51da53dbe2664360949cc78259b2da0b /.clang-tidy
parent5ff9d6184771970c14e682ecf55cbd9d27b2fada (diff)
render with raylib
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy5
1 files changed, 5 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..20b4476
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,5 @@
+# clangd doesn't like sizeof expressions for pointers to pointers, eg:
+# int **x = malloc(sizeof(*x));
+# disables annoying warnings (be careful!)
+
+Checks: '-bugprone-sizeof-expression'