7 Commits

Author SHA1 Message Date
Jean Felder
ce8cd3d551
docker-qgis-clangtidy: Downgrade clang-tidy version to match ubuntu 24.04
At the moment the clang-tidy CI fails on each file with the following
message:

```
error: PCH file uses an older PCH format that is no longer supported
[clang-diagnostic-error]
```

This is because clang-tidy version 18 is used while QGIS
compilation is achieved with clang 15. Indeed, QGIS is built with
clazy support which relies on clang 15.

This issue is fixed by using clang version 15 instead of version 18 in
`docker-qgis-clangtidy.sh`.
2025-02-18 16:20:35 +01:00
Julien Cabieces
6de7612345 ci(ClangTidy): Disable unity build for clang-tidy
"Unity builds" build everything into a unique cpp file. That's
problematic for clang-tidy which rely on compile_command.json to
figure out how to build each file. Without these informations, clang-tidy
displayed false errors (missing include file for instance)
2025-02-14 07:35:15 +10:00
Loïc Bartoletti
5b4449602b rm clangtidy_checks.txt and it's usage since it's not needed, thanks to .clang-tidy file 2023-12-13 12:14:42 +01:00
Julien Cabieces
35fc6b239a add generated file dir in clang-tidy call 2023-03-07 09:28:40 +10:00
Nyall Dawson
8491e83166 Update .docker/docker-qgis-clangtidy.sh 2022-09-15 09:28:16 +10:00
Julien Cabieces
77907c2e76 Fix shellcheck 2022-09-15 09:28:16 +10:00
Julien Cabieces
0dc69f2bed [Clang-tidy] Run clang-tidy on modified code 2022-09-15 09:28:16 +10:00