-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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 broken with llvm v19.1.3 #196344
Comments
I get the same errors when I run clang-tidy from pip (latest version is 19.1.0) when brew llvm 19.1.3 is installed. |
Oh, that's annoying. Looks like As a workaround, try
|
Similar problem, but with clang. With 19.1.3, clang can't find stuff like Now I'll have to manually add I wonder if this is as expected. Or what is the right way to fix this system-header-missing problem? |
For me, I didn’t have any problem compiling with clang++. Does my simple example compile? |
I am compiling with a rust-c++ program. Simple examples like this certainly won't have any problem. But I think it is quite improper to make such a potential breaking change, without any major versioning. Moreover, now you can brew install llvm@19 but not [email protected]. So there isn't even a simple way to rollback. |
@Congyuwang, I can't reproduce your issue so I'll need to know:
|
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
clang-tidy is no longer finding system headers since the llvm 19.1.3 update (#196094)
What happened (include all command output)?
What did you expect to happen?
Using llvm 19.1.2 formula, the output is:
(Some warnings but no error finding <iostream>).
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: