-
Notifications
You must be signed in to change notification settings - Fork 113
Uplift used Clang to 10.0 #432
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
Conversation
whisperity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The doc/deps.md file is not updated.
|
Not sure if this is intended... when parsing CodeCompass itself, for the warnings of a parsed TU, only the warning count comes up, the warnings themselves are hidden: (I'm running without |
|
Alright, I can confirm that the parsing part works, except for that weirdness with the diagnostics output above. In addition, the same behaviour is present for erroring TUs: |
|
I think warnings and errors are not emitted to the standard output because they are captured by the diagnostic message handler (see #403). I'll create a ticket about bringing them back. |
4d09748 to
20f7c06
Compare
clang::vfs was moved to llvm::vfs in 8.0, see: http://reviews.llvm.org/D52783
|
It seems that only Xenial build is missing for this pull request. If we're extremely lucky then CodeCompass works with Clang-8 which is available under Xenial. Could somebody please help with some Travis magic so Xenial build uses Clang-8? This patch is a dependency of some other. |
|
It seems to me that unfortunately the CI already uses Clang 8 for Xenial, too (at least that is what I saw in the build configuration, but correct me if I'm wrong). |
|
Yes, I tried installing Clang 8 hoping that it will work automatically out of the box. However, clang-10 binary is still set explicitly somewhere. I haven't investigated the issue too much. |
|
Why aren't we using Clang 10? It is available on Xenial: |
Needed to add a `sourceline` safelist for Travis as `llvm-toolchain-xenial-10` is not in the safe list by default.
I see the problem, But we can still add this PPA with the |
|
There, proper Travis magic applied, it builds on Xenial now in the CI pipeline 😄 (I have made some commits, feel free to squash them of course.) |
whisperity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 57 and 58 in docs/deps.md (it's so out of the diff context I can't put an inline comment 😦) are still saying llvm-toolchain-xenial-7, otherwise the documentation seems fine for me.
|
Oh nice, TIL if the pull request author allows you to push their PR, you can actually force push the branch too. @mcserep I've squashed your 3 commits and updated the message in the squash with the elaboration about this I believe @bruntib is serving a well-deserved holiday this week, considering the elongated weekend for the state anniversary. So it's up to us to review whether everything is fine with the patch. 😋 |
|
Thanks for the magic, I appreciate it:) By the way I was only checking packages.ubuntu.com and I didn't see if Clang 10 was available under xenial. |
mcserep
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some documentation fixes; everything seems fine now.
No description provided.