Skip to content

Conversation

@kastiglione
Copy link

@kastiglione kastiglione commented Feb 28, 2024

Factor out a reusable function for target.experimental properties.

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test

Copy link

@augusto2112 augusto2112 left a comment

Choose a reason for hiding this comment

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

Nice clean up!


private:
std::optional<bool>
GetExperimentalPropertyValue(size_t idx,

Choose a reason for hiding this comment

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

Should this function live upstream?

Copy link
Author

Choose a reason for hiding this comment

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

yep. (on first glance I thought these were all swift, but one property, inject-local-vars, does exist upstream).

Copy link
Author

@kastiglione kastiglione Feb 29, 2024

Choose a reason for hiding this comment

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

I'll pick llvm#83504 into this branch.

@augusto2112
Copy link

@swift-ci test Windows

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