Skip to content

Inherit parent's extra Clang arguments when creating an interface build sub-invocation. #61919

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

artemcm
Copy link
Contributor

@artemcm artemcm commented Nov 3, 2022

We would like to make sure they get propagated to downstream transitive Clang module dependencies also. Otherwise they may not have sufficient context to build (such as missing parent invocation's macro definitions).

Resolves rdar://101923680

@artemcm
Copy link
Contributor Author

artemcm commented Nov 3, 2022

@swift-ci test

@artemcm artemcm force-pushed the InheritExtraClangStateForInterfaceSubInvocation branch from 0711145 to 703a3fb Compare November 4, 2022 18:37
Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this, Artem!

@artemcm artemcm force-pushed the InheritExtraClangStateForInterfaceSubInvocation branch from 703a3fb to 9934c3b Compare November 4, 2022 22:44
@artemcm
Copy link
Contributor Author

artemcm commented Nov 4, 2022

@swift-ci test

@artemcm artemcm force-pushed the InheritExtraClangStateForInterfaceSubInvocation branch from 9934c3b to 4bc0b00 Compare November 7, 2022 19:23
@artemcm
Copy link
Contributor Author

artemcm commented Nov 7, 2022

@swift-ci test

…ld sub-invocation.

We would like to make sure they get propagated to downstream transitive Clang module dependencies also.

Resolves rdar://101923680
@artemcm artemcm force-pushed the InheritExtraClangStateForInterfaceSubInvocation branch from 4bc0b00 to d1cbf9c Compare November 8, 2022 17:32
@artemcm
Copy link
Contributor Author

artemcm commented Nov 8, 2022

@swift-ci test

@artemcm artemcm merged commit 2a84d6d into swiftlang:main Nov 9, 2022
@artemcm artemcm deleted the InheritExtraClangStateForInterfaceSubInvocation branch November 9, 2022 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants