> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Clang-Tidy

> CodeRabbit's guide to Clang-Tidy.

[Clang-Tidy](https://clang.llvm.org/extra/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 **Reviews → 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.

## Links

* [Clang-Tidy Documentation](https://clang.llvm.org/extra/clang-tidy/)
* [Available Clang-Tidy Checks](https://clang.llvm.org/extra/clang-tidy/checks/list.html)
