lsfg-vk/lsfg-vk-layer/.clang-tidy
PancakeTAS 218820e8dc
Some checks failed
(CI) lsfg-vk / build (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (23.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (24.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (25.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-ui (push) Has been cancelled
chore: Adjust to new compiler warnings
2026-04-25 20:52:18 +02:00

32 lines
1.1 KiB
YAML

UseColor: true
Checks:
# COMMON: Usually, we keep all checks enabled
- "bugprone-*"
- "clang-analyzer-*"
- "cppcoreguidelines-*"
- "misc-*"
- "modernize-*"
- "performance-*"
- "portability-*"
- "readability-*"
# COMMON: Some checks related purely to code-style are disabled
- -modernize-use-designated-initializers
- -modernize-use-trailing-return-type
- -modernize-deprecated-headers
- -readability-function-cognitive-complexity
- -readability-math-missing-parentheses
- -readability-braces-around-statements
- -readability-implicit-bool-conversion
- -readability-identifier-length
- -readability-magic-numbers
- -cppcoreguidelines-avoid-magic-numbers
- -cppcoreguidelines-macro-usage
- -bugprone-easily-swappable-parameters
- -portability-avoid-pragma-once
# Vulkan requires the use of reinterpret/const casts in many places
- -cppcoreguidelines-pro-type-reinterpret-cast
- -cppcoreguidelines-pro-type-const-cast
# Vulkan layers often require C-style memory access
- -cppcoreguidelines-pro-bounds-pointer-arithmetic
- -cppcoreguidelines-pro-type-union-access
- -clang-diagnostic-unsafe-buffer-usage