mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-14 17:43:34 +08:00
Adding a custom target `clang-tidy` that will run `run-clang-tidy` if it is available and the compiler database is enabled. If the compiler database is not enabled but `run-clang-tidy` is found, a warning will be printed and the custom command will not be added.
7 lines
200 B
YAML
7 lines
200 B
YAML
---
|
|
Checks: '-*,clang-analyzer-core.*,clang-diagnostic-*'
|
|
WarningsAsErrors: 'clang-analyzer-unix.*,clang-analyzer-core.NullDereference'
|
|
HeaderFilterRegex: ''
|
|
AnalyzeTemporaryDtors: false
|
|
...
|