diff options
| author | 24bit-xjkp <[email protected]> | 2025-09-21 17:44:10 +0800 |
|---|---|---|
| committer | 24bit-xjkp <[email protected]> | 2025-09-21 17:44:10 +0800 |
| commit | 586e243c43e58399042c863c64ccb7a89a622cbd (patch) | |
| tree | ca6ac46aad3618c37af96b26eb10bd10a909b510 /xmake/modules/private/cache/build_cache.lua | |
| parent | f9bc475a5ba47b954d23d16c71a4b6bbd4cb6ca4 (diff) | |
feat(clang-tidy): Improve clang-tidy support
1. Improve "compdb" option, supporting the directory containing the json db file. This will shorten the command line since "compile_commands.json" is a long name.
2. Use `opt.compdb` instead of `option.get("compdb")` because `option.get` doesn't work and returns a nil in this scope. I don't know the reason.
3. Motivated by the python script `run-clang-tidy` in llvm project, each clang-tidy subprocess new only processes a source file and use multi-process to implement parallel analysis based on `async.runjobs`
4. Use `os.execv` instead of `os.vrunv` since diagnoses are always wanted in static analysis.
5. Add a timer for check action.
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
0 files changed, 0 insertions, 0 deletions
