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
84 lines
2.5 KiB
YAML
84 lines
2.5 KiB
YAML
---
|
|
# Clang-Tidy configuration for profiler-hub
|
|
# https://clang.llvm.org/extra/clang-tidy/
|
|
|
|
Checks: >
|
|
-*,
|
|
bugprone-*,
|
|
clang-analyzer-*,
|
|
cppcoreguidelines-*,
|
|
misc-*,
|
|
modernize-*,
|
|
performance-*,
|
|
readability-*,
|
|
-modernize-use-trailing-return-type,
|
|
-readability-magic-numbers,
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
-cppcoreguidelines-owning-memory,
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
-cppcoreguidelines-avoid-c-arrays,
|
|
-modernize-avoid-c-arrays,
|
|
-readability-identifier-length,
|
|
-bugprone-easily-swappable-parameters,
|
|
-misc-include-cleaner
|
|
|
|
WarningsAsErrors: ''
|
|
|
|
HeaderFilterRegex: '.*/profiler-hub/(include|source)/.*\.hpp$'
|
|
|
|
CheckOptions:
|
|
# Naming conventions (snake_case style)
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.StructCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ParameterCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.PrivateMemberPrefix
|
|
value: 'm_'
|
|
- key: readability-identifier-naming.ProtectedMemberPrefix
|
|
value: 'm_'
|
|
- key: readability-identifier-naming.ConstantCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.EnumConstantCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.NamespaceCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.TypeAliasCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.TypeAliasSuffix
|
|
value: '_t'
|
|
- key: readability-identifier-naming.TypedefCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.TypedefSuffix
|
|
value: '_t'
|
|
|
|
# Modernize settings
|
|
- key: modernize-use-override.IgnoreDestructors
|
|
value: true
|
|
- key: modernize-use-nullptr.NullMacros
|
|
value: 'NULL'
|
|
|
|
# Performance settings
|
|
- key: performance-move-const-arg.CheckTriviallyCopyableMove
|
|
value: false
|
|
- key: performance-unnecessary-value-param.AllowedTypes
|
|
value: 'std::shared_ptr;std::unique_ptr'
|
|
|
|
# Readability settings
|
|
- key: readability-function-cognitive-complexity.Threshold
|
|
value: 50
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
value: 1
|
|
|
|
# Misc settings
|
|
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
|
value: true
|
|
...
|