Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clang-tidy] output used .clang-tidy path #88242

Closed
johanneskopf opened this issue Apr 10, 2024 · 2 comments
Closed

[clang-tidy] output used .clang-tidy path #88242

johanneskopf opened this issue Apr 10, 2024 · 2 comments
Labels
clang-tidy question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

Comments

@johanneskopf
Copy link

Hi,

I could not figure out how to print the names of the .clang-tidy files that are used depending on the input files. Is that possible somehow?

I am using clang-tidy version 18.1.2

Thanks in advance.

@johanneskopf johanneskopf changed the title clang-tidy - output .clang-tidy path clang-tidy - output used .clang-tidy path Apr 10, 2024
@johanneskopf johanneskopf changed the title clang-tidy - output used .clang-tidy path [clang-tidy] output used .clang-tidy path Apr 10, 2024
@PiotrZSL
Copy link
Member

PiotrZSL commented Apr 10, 2024

Try --verify-config or --explain-config

@johanneskopf
Copy link
Author

I already tried some of the options, but missed --explain-config. Thanks @PiotrZSL , this does the trick!

@EugeneZelenko EugeneZelenko added the question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead! label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang-tidy question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Projects
None yet
Development

No branches or pull requests

3 participants