Skip to content
Snippets Groups Projects
Commit e9c5b3da authored by Administrator's avatar Administrator
Browse files

Add clang-tidy configuration

The format works for clang-tidy version 11 and 16.
Use clang-format automatically after running clang-tidy to also format the
changed file.
Add modernize-deprecated-headers check which warns about old C header files.
parent 8b3e0619
No related branches found
No related tags found
1 merge request!1333Add the possibility to use clang-tidy with CbmRoot
Checks: '-*,modernize-deprecated-headers'
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- key: modernize-deprecated-headers.CheckHeaderFile
value: 'true'
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment