-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Diagnostics] Hooking up remarks emitted from Clang. #25585
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
Now that Swift support remarks ClangImporter we pass them to the Clang diagnostic producer instead of ignoring them. Fixes SR-10915
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.
Looks great! Thanks, @vguerra.
@swift-ci Please smoke test |
Follow up on fix for SR-10915 where I forgot to undefine the REMARK macro. ref: swiftlang#25585
Thank you for the quick review @jrose-apple. Just a small follow up on this: #25603 |
hello @compnerd .. will have a look at it, sorry for that :/ should I revert in the mean-time? |
Looking at the failure:
I think it'd be okay to make the test a little looser by dropping the "NEXT". We just want to make sure remarks are printed; the precise remarks aren't so important. (@compnerd, is it really okay to import |
@vguerra - I think I would rather fix forward, dropping the |
SwiftShims deliberately "redeclares" a bunch of things normally in the C standard library to avoid these. |
thanks for pushing the fix @compnerd ... indeed dropping the |
Right, but, it does still include headers and that seems to be pulling in the |
I mean, we didn't write the Windows includes. Feel free to change them to do the same sort of redeclaring rather than including headers. |
Will do; at the very least, I will create a SR to track this item. |
Now that Swift support remarks ClangImporter we pass them
to the Clang diagnostic producer instead of ignoring them.
Fixes SR-10915