Skip to content
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

[lldb] Update Measurement data formatter #9127

Merged

Conversation

kastiglione
Copy link

@kastiglione kastiglione commented Aug 15, 2024

rdar://121940851

@kastiglione kastiglione marked this pull request as draft August 15, 2024 20:04
@kastiglione
Copy link
Author

View the diff with whitespace ignored for a distilled look at the changes (basically a new else branch added) https://github.com/swiftlang/llvm-project/pull/9127/files?w=1

@kastiglione
Copy link
Author

@swift-ci test

1 similar comment
@kastiglione
Copy link
Author

@swift-ci test

@kastiglione kastiglione marked this pull request as ready for review September 28, 2024 23:03
@@ -13,8 +13,8 @@ import Foundation

func main() {
var measurement = Measurement(value: 1.25, unit: Unit(symbol: "m"))
//% self.runCmd("settings set symbols.swift-enable-ast-context false")

Choose a reason for hiding this comment

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

Can you add a comment explaining why this is here?

Ideally, we would convert this into a non-inline test and run the test with and without the setting, otherwise we're losing the typeref <-> SwiftAST validation.

Copy link
Author

Choose a reason for hiding this comment

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

good call, done.

@kastiglione kastiglione force-pushed the dl/lldb-Update-Measurement-data-formatter branch from b162992 to 5e21b98 Compare October 1, 2024 17:40
@kastiglione kastiglione changed the base branch from stable/20230725 to stable/20240723 October 1, 2024 17:40
@kastiglione kastiglione closed this Oct 1, 2024
@kastiglione kastiglione reopened this Oct 1, 2024
@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test windows

3 similar comments
@kastiglione
Copy link
Author

@swift-ci test windows

@kastiglione
Copy link
Author

@swift-ci test windows

@kastiglione
Copy link
Author

@swift-ci test windows

Copy link

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

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

Thanks!

@kastiglione kastiglione merged commit c45216d into stable/20240723 Oct 7, 2024
@kastiglione kastiglione deleted the dl/lldb-Update-Measurement-data-formatter branch October 7, 2024 18:12
kastiglione added a commit that referenced this pull request Oct 29, 2024
rdar://121940851
(cherry picked from commit c45216d)
kastiglione added a commit that referenced this pull request Oct 29, 2024
rdar://121940851
(cherry picked from commit c45216d)
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