Skip to main content
Clang-Tidy is a static code analysis tool for the C and C++ programming languages.

Files

Clang-Tidy will run on files with the following extensions:
  • **/*.cpp
  • **/*.cxx
  • **/*.cc
  • **/*.c
  • **/*.hpp
  • **/*.hxx
  • **/*.hh
  • **/*.h

Configuration

  • Enable or disable it with reviews.tools.clang.enabled or via Review → Tools → Clang → Enabled in CodeRabbit’s settings page.
  • When present, your repository’s standard Clang-Tidy configuration (such as a .clang-tidy file) will be used to further customize checks and rule severities.
CodeRabbit will use the default settings based on the profile selected if no config file is found.