Skip to content

[lldb] Reinstate default constructor for SBCommandInterpreter #7491

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
Sep 20, 2023

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 test

@JDevlieghere JDevlieghere merged commit 5601e23 into stable/20221013 Sep 20, 2023
@JDevlieghere JDevlieghere deleted the cherrypick/navy/86f21e92ab6e branch September 20, 2023 01:47
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