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-cache fails to find compile_command.json unlike clang-tidy #14

Open
aminya opened this issue Feb 3, 2022 · 1 comment
Open

Comments

@aminya
Copy link

aminya commented Feb 3, 2022

Unless the current working directory is the same as the compile_commands.json file, it fails to find it.

@aminya
Copy link
Author

aminya commented Feb 9, 2022

This can be fixed by passing -p path_to_build_directory.

P.S: clang-tidy has some more logic to determine this even if it is not passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant