diff options
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 5 |
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' |