Skip to content

new: dev: Improve the clang-format and clang-tidy integration

Ondřej Surý requested to merge 2933-reformat-with-clang-format into main

Update util/run-clang-tidy.py and util/run-clang-tidy.sh scripts to run clang-tidy on out mutliple-directory autotools setup that normal run-clang-tidy.sh chokes on.

The next couple of commits then enable and apply following clang-tidy checks:

  • bugprone-macro-parentheses
  • bugprone-signed-char-misuse
  • cert-*,-cert-err34-c
  • readability-braces-around-statements
  • readability-redundant-control-flow
  • readability-uppercase-literal-suffix

Closes #2933 (closed)

Edited by Ondřej Surý

Merge request reports