Skip to content

Conversation

@klausler
Copy link
Contributor

The assignment to mutableModes() in BeginIoStatement() is redundant, since the mutableModes_ data member is initialized by the constructors of the two classes that now have one. Remove the assignment to avoid confusion.

Also restores the original OutputStatementState base class name after a recent patch that needlessly changed it to something equivalent but less readable.

The assignment to mutableModes() in BeginIoStatement() is redundant,
since the mutableModes_ data member is initialized by the constructors
of the two classes that now have one.  Remove the assignment to
avoid confusion.

Also restores the original OutputStatementState base class name
after a recent patch that needlessly changed it to something
equivalent but less readable.
Copy link
Contributor

@akuhlens akuhlens left a comment

Choose a reason for hiding this comment

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

LGTM

@klausler klausler merged commit 0d6a67c into llvm:main Jul 30, 2025
10 checks passed
@klausler klausler deleted the remove-init branch July 30, 2025 18:41
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.

3 participants