diff options
author | Carlos Galvez <carlosgalvezp@gmail.com> | 2025-04-29 11:13:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 11:13:30 +0200 |
commit | 014ab736dc741f24c007f9861e24b31faba0e1e7 (patch) | |
tree | 85a587fce6ec324cb1cd82666732a7e802997e61 /clang/lib/ExtractAPI/API.cpp | |
parent | 3d47bc9d25af0d2525c9f52b5fad6af6c88ce7e3 (diff) | |
download | llvm-014ab736dc741f24c007f9861e24b31faba0e1e7.zip llvm-014ab736dc741f24c007f9861e24b31faba0e1e7.tar.gz llvm-014ab736dc741f24c007f9861e24b31faba0e1e7.tar.bz2 |
[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>
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions