llvm-project
014ab736 - [clang-tidy] Do not pass any file when listing checks in run_clang_ti… (#137286)

Commit
1 year ago
[clang-tidy] Do not pass any file when listing checks in run_clang_ti… (#137286) …dy.py Currently, run_clang_tidy.py does not correctly display the list of checks picked up from the top-level .clang-tidy file. The reason for that is that we are passing an empty string as input file. However, that's not how we are supposed to use clang-tidy to list checks. Per https://github.com/llvm/llvm-project/commit/65eccb463df7fe511c813ee6a1794c80d7489ff2, we simply should not pass any file at all - the internal code of clang-tidy will pass a "dummy" file if that's the case and get the .clang-tidy file from the current working directory. Fixes #136659 Co-authored-by: Carlos Gálvez <carlos.galvez@zenseact.com>
Author
Parents
Loading