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 error #39

Open
Bojun-Seo opened this issue Nov 21, 2024 · 1 comment
Open

clang-tidy error #39

Bojun-Seo opened this issue Nov 21, 2024 · 1 comment

Comments

@Bojun-Seo
Copy link
Collaborator

Higher version of clang-tidy cannot parse .clang-tidy file.

$ cmake -B out
$ run-clang-tidy -fix -header-filter=.* -format -style file -p out

... skip ...

Error parsing /home/bojun/heaptrace/.clang-tidy: Invalid argument
/home/bojun/heaptrace/.clang-tidy:21:1: error: unknown key 'AnalyzeTemporaryDtors'
AnalyzeTemporaryDtors: false
^~~~~~~~~~~~~~~~~~~~~
Error parsing /home/bojun/heaptrace/.clang-tidy: Invalid argument

https://stackoverflow.com/questions/63920634/what-is-the-meaning-of-the-analyzetemporarydtors-option-in-clang-tidy

It works if .clang-tidy file is removed.

@honggyukim
Copy link
Owner

Thanks for the report!

AnalyzeTemporaryDtors was deprecated and removed at the following commits.

So we better remove it in our .clang-tidy.

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

2 participants