diff options
author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2020-10-22 11:17:28 +0300 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-10-27 14:48:17 +0000 |
commit | 22679a81ebf5a69ef28c52e01ae259d96b27072a (patch) | |
tree | c303faf46da61e9be9ba0473de6f9c22db5d6820 /.clang-tidy | |
parent | 4a748394e534eca79e54b6153691621c1482a76c (diff) |
Add .clang-tidy
Having .clang-tidy file will give us a 'clang-tidy' meson build target,
so doing a full clang-tidy run can be done just by:
ninja -C build clang-tidy
I did not look at if more checks should be enabled or not. I disabled
clang-diagnostic-c99-designator as that feature was used in the code,
and I see no harm with the feature.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 00000000..b40e588a --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,2 @@ +Checks: -clang-diagnostic-c99-designator +FormatStyle: file |