Skip to content

Conversation

@adrian-prantl
Copy link

…() (NFC)

Instead we can directly query the triple of the module.

rdar://113997661

@adrian-prantl
Copy link
Author

@swift-ci test

…() (NFC)

Instead we can directly query the triple of the module.

rdar://113997661
This fixes an oversight that was uncovered by making it less likely to
instantiate a per-module SwiftASTContext.
@adrian-prantl adrian-prantl force-pushed the 113997661-exe-triple-5.9 branch from 77499cd to ca58189 Compare August 18, 2023 20:12
@adrian-prantl
Copy link
Author

Added a bugfix for path remapping that was uncovered by this change!

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test windows

1 similar comment
@adrian-prantl
Copy link
Author

@swift-ci test windows

# Turn on logging.
log = self.getBuildArtifact("types.log")
self.expect("log enable lldb types -f " + log)
self.expect('log enable lldb types -f "%s"' % log)

Choose a reason for hiding this comment

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

we can use python f-strings now:

Suggested change
self.expect('log enable lldb types -f "%s"' % log)
self.expect(f'log enable lldb types -f "{log}"')

Copy link
Author

Choose a reason for hiding this comment

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

Nice, I did not know about this feature!

@adrian-prantl adrian-prantl merged commit 88deaff into swiftlang:swift/release/5.9 Aug 19, 2023
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