Skip to content

C++: Also clear the 0'th argument of swap - #15537

Merged
MathiasVP merged 1 commit into
github:mainfrom
MathiasVP:swap-also-clears-first-argument
Feb 7, 2024
Merged

C++: Also clear the 0'th argument of swap#15537
MathiasVP merged 1 commit into
github:mainfrom
MathiasVP:swap-also-clears-first-argument

Conversation

@MathiasVP

@MathiasVP MathiasVP commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

In #15528 I forgot to model that std::swap also clears the 0'th argument. This PR fixes that.

DCA looks uneventful. There are two failing projects because of a known bug in DCA that is being worked on as we speak. This shouldn't block this PR, though.

@MathiasVP
MathiasVP requested a review from a team as a code owner February 7, 2024 10:32
@github-actions github-actions Bot added the C++ label Feb 7, 2024
@MathiasVP MathiasVP added the no-change-note-required This PR does not need a change note label Feb 7, 2024

@geoffw0 geoffw0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

I've waited a long time for this improvement!

@MathiasVP
MathiasVP merged commit 23677b2 into github:main Feb 7, 2024
MathiasVP added a commit to MathiasVP/ql that referenced this pull request Feb 9, 2024
…rs-first-argument"

This reverts commit 23677b2, reversing
changes made to c5dc883.
MathiasVP added a commit to MathiasVP/ql that referenced this pull request Feb 13, 2024
…rs-first-argument"

This reverts commit 23677b2, reversing
changes made to c5dc883.
MathiasVP added a commit to MathiasVP/ql that referenced this pull request Feb 13, 2024
…rs-first-argument"

This reverts commit 23677b2, reversing
changes made to c5dc883.
@MathiasVP MathiasVP mentioned this pull request Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants