diff options
Diffstat (limited to 'test/headers')
-rw-r--r-- | test/headers/.clang-tidy | 2 | ||||
-rw-r--r-- | test/headers/meson.build | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy index f98ca17..dd0b95f 100644 --- a/test/headers/.clang-tidy +++ b/test/headers/.clang-tidy @@ -5,9 +5,11 @@ Checks: > *, -*-magic-numbers, -altera-*, + -bugprone-assignment-in-if-condition, -bugprone-easily-swappable-parameters, -bugprone-macro-parentheses, -llvmlibc-restrict-system-libc-headers, + -modernize-macro-to-enum, -performance-no-int-to-ptr, -readability-identifier-length, CheckOptions: diff --git a/test/headers/meson.build b/test/headers/meson.build index e0a2d76..cee8965 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -12,6 +12,12 @@ if get_option('strict') '-Wno-padded', ] + if host_machine.system() == 'windows' + header_c_suppressions += [ + '-Wno-format-nonliteral', + ] + endif + elif cc.get_id() == 'gcc' header_c_suppressions += [ '-Wno-cast-align', |