Skip to content

Conversation

@varungandhi-apple
Copy link
Contributor

The solution follows the outline in the issue description. If the literal "1" is present,
we treat the construct as an include guard, otherwise it is treated as defining a constant.

Resolves SR-9482.

There is a minor change from #26098; we need to a pass an additional length parameter while creating the StringRef.

@varungandhi-apple
Copy link
Contributor Author

@swift-ci please smoke test

Solution based on the outline in the issue description.

Also fixes the corresponding rdar://problem/46644027.
@varungandhi-apple
Copy link
Contributor Author

@swift-ci please smoke test

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.

2 participants