From f0f058dbeb40d016501328ed755392b46eefec9b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 1 Nov 2020 13:32:11 +0100 Subject: Run clang-tidy on all headers and fix various issues It's a nightmare trying to get this thing to check everything. --- include/.clang-tidy | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/.clang-tidy (limited to 'include/.clang-tidy') diff --git a/include/.clang-tidy b/include/.clang-tidy new file mode 100644 index 0000000..ccf7b3c --- /dev/null +++ b/include/.clang-tidy @@ -0,0 +1,8 @@ +Checks: > + *, + -*-magic-numbers, + -*-uppercase-literal-suffix, + -clang-diagnostic-unused-function, + -clang-diagnostic-unused-macros, +FormatStyle: file +HeaderFilterRegex: 'pugl/.*' -- cgit v1.2.1