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

Files

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

Configuration

boolean
default:true
Enable Clang for C/C++ static analysis and code quality checks
.coderabbit.yaml
The settings use the clang key, and the web UI lists the tool as Clang. 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.