-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[index] Use a #pragma to apply module namespacing for exported ObjC header and match Swift namespaced USRs with the clang side #8972
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
[index] Use a #pragma to apply module namespacing for exported ObjC header and match Swift namespaced USRs with the clang side #8972
Conversation
…eader and match Swift namespaced USRs with the clang side
@swift-ci smoke test |
@swift-ci smoke test |
@jrose-apple , could you review the PrintAsObjC.cpp part ? |
@swift-ci smoke test |
@swift-ci smoke test |
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.
PrintAsObjC LGTM, other than one comment.
@@ -2682,8 +2701,15 @@ class ModuleWriter { | |||
out << | |||
"#pragma clang diagnostic ignored \"-Wproperty-attribute-mismatch\"\n" | |||
"#pragma clang diagnostic ignored \"-Wduplicate-method-arg\"\n" | |||
"#if __has_warning(\"-Wpragma-clang-attribute\")\n" |
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.
Doesn't "pragma clang diagnostic ignored" already ignore unknown warnings?
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.
No, you get warning: unknown warning group
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.
Hm, okay.
No description provided.