-
Notifications
You must be signed in to change notification settings - Fork 9
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
Remove g++
dependency to find out the system headers
#2
Comments
It is available as But it isn't exposed as a libclang API.
|
Yes, that's exactly how it is implemented right now but it would be nice to have this information exposed by Although, having a dependency on a C/C++ compiler for C/C++ language server is not to be unexpected, right 😃 |
It would be hard. As you may probably end up replicating lots of C++ types in libclang counterparts. I am unclear if this kind of change will be accepted by upstream clang. Another thing that may be out-of-scope of this function is when cross compilation is involved. clangDriver also has logic to detect various system search paths when it knows it is used as cross compiler, e.g. |
I am not sure I see why that would be the case. For example,
Cross-compilations are usually handled by setting up proper |
Solution:
The text was updated successfully, but these errors were encountered: