Skip to content

[lldb] Reinstate default constructor for SBCommandInterpreter #8030

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

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

JDevlieghere
Copy link

The default constructor for SBCommandInterpreter was (unintentionally) made protected in 27b6a4e. The goal of the patch was to make the constructor taking an lldb_private type protected, but due to the presence of a default argument, this ctor also served as the default constructor. The latter should remain public.

This commit reinstates the original behavior by removing the default argument and having an explicit, public default constructor.

(cherry picked from commit 86f21e9)

The default constructor for SBCommandInterpreter was (unintentionally)
made protected in 27b6a4e. The goal of the patch was to make the
constructor taking an lldb_private type protected, but due to the
presence of a default argument, this ctor also served as the default
constructor. The latter should remain public.

This commit reinstates the original behavior by removing the default
argument and having an explicit, public default constructor.

(cherry picked from commit 86f21e9)
@JDevlieghere
Copy link
Author

@swift-ci please test

@JDevlieghere JDevlieghere merged commit 82b7bb5 into swift/release/5.10 Feb 27, 2024
@JDevlieghere JDevlieghere deleted the jdevlieghere/default-ctor branch February 27, 2024 20:59
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.

1 participant