view OrthancServer/Resources/orthanc.clang-tidy @ 7174:2c0758ba1ab6 default tip

Fix uncompressed size in Prometheus metrics
author Alain Mazy <am@orthanc.team>
date Tue, 20 Oct 2026 15:40:30 +0200
parents f26e2a26060f
children
line wrap: on
line source

# Note, you must first run cmake with this option: -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
# ~/o/orthanc$ clear && find . -name "*.cpp" -print | xargs run-clang-tidy -p ../build/orthanc -config-file=/home/alain/o/orthanc/OrthancServer/Resources/orthanc.clang-tidy
# TODO: reactivate:
# bugprone-implicit-widening-of-multiplication-result
# bugprone-exception-escape

Checks: >
  -*,
  clang-analyzer-*,
  -clang-analyzer-optin.core.EnumCastOutOfRange,
  bugprone-*,
  -bugprone-easily-swappable-parameters,
  -bugprone-branch-clone,
  -bugprone-suspicious-include,
  -bugprone-exception-escape,
  -performance-*,
  -readability-*,
  -modernize-*

HeaderFilterRegex: '^(OrthancServer|OrthancFramework)/'
SystemHeaders: false