CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
69 lines
2.8 KiB
YAML
69 lines
2.8 KiB
YAML
# clang-tidy configuration for stinkytofu
|
|
#
|
|
# Bug-finding + performance checks. No style-enforcement checks.
|
|
# Follows LLVM's approach: misc-* with targeted exclusions, plus
|
|
# performance-* for JIT-readiness.
|
|
#
|
|
# Explicit positive list with wildcard categories; upgrading clang-tidy
|
|
# may auto-enable new checks within these categories (desired: new bug
|
|
# finders are welcome). Noisy checks are excluded individually below.
|
|
#
|
|
# Excluded bugprone checks (false positives or too noisy for this codebase):
|
|
# -bugprone-easily-swappable-parameters (too noisy, low signal)
|
|
# -bugprone-unchecked-optional-access (false positives on if-auto)
|
|
# -bugprone-narrowing-conversions (too noisy, pervasive int/size_t mixing)
|
|
# -bugprone-branch-clone (intentional patterns in switch/if chains)
|
|
# -bugprone-argument-comment (test shorthand mismatches)
|
|
# -bugprone-exception-escape (main() intentionally propagates)
|
|
# -bugprone-multi-level-implicit-pointer-conversion (ErrorHandling.hpp pattern)
|
|
# -bugprone-string-literal-with-embedded-nul (fuzz test data)
|
|
# -bugprone-macro-parentheses (X-macro patterns can't be parenthesized)
|
|
#
|
|
# Excluded misc checks (LLVM-style exclusions):
|
|
# -misc-const-correctness (too verbose, LLVM excludes)
|
|
# -misc-include-cleaner (LLVM excludes)
|
|
# -misc-no-recursion (LLVM excludes)
|
|
# -misc-non-private-member-variables-in-classes (LLVM excludes)
|
|
# -misc-unused-parameters (LLVM excludes)
|
|
# -misc-use-anonymous-namespace (LLVM excludes)
|
|
#
|
|
# Excluded performance checks:
|
|
# -performance-enum-size (too noisy, low value)
|
|
#
|
|
# Excluded clang-analyzer checks:
|
|
# -clang-analyzer-core.NullDereference (false positive in nanobind try_cast templates)
|
|
# -clang-analyzer-optin.performance.Padding
|
|
# -clang-analyzer-optin.core.EnumCastOutOfRange
|
|
#
|
|
# Not included (style enforcement, not bug-finding):
|
|
# readability-*, modernize-*, google-*, fuchsia-*
|
|
Checks: >
|
|
-*,
|
|
bugprone-*,
|
|
-bugprone-easily-swappable-parameters,
|
|
-bugprone-unchecked-optional-access,
|
|
-bugprone-narrowing-conversions,
|
|
-bugprone-branch-clone,
|
|
-bugprone-argument-comment,
|
|
-bugprone-exception-escape,
|
|
-bugprone-multi-level-implicit-pointer-conversion,
|
|
-bugprone-string-literal-with-embedded-nul,
|
|
-bugprone-macro-parentheses,
|
|
clang-analyzer-*,
|
|
-clang-analyzer-core.NullDereference,
|
|
-clang-analyzer-optin.performance.Padding,
|
|
-clang-analyzer-optin.core.EnumCastOutOfRange,
|
|
misc-*,
|
|
-misc-const-correctness,
|
|
-misc-include-cleaner,
|
|
-misc-no-recursion,
|
|
-misc-non-private-member-variables-in-classes,
|
|
-misc-unused-parameters,
|
|
-misc-use-anonymous-namespace,
|
|
performance-*,
|
|
-performance-enum-size
|
|
|
|
WarningsAsErrors: '*'
|
|
|
|
HeaderFilterRegex: 'include/stinkytofu/.*'
|