[all-commits] [llvm/llvm-project] 0d6a67: [flang][runtime] Remove redundant initialization (...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jul 30 11:41:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d6a67c1ad6742d2c1a1606c91aa5c73c74c002a
      https://github.com/llvm/llvm-project/commit/0d6a67c1ad6742d2c1a1606c91aa5c73c74c002a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M flang-rt/include/flang-rt/runtime/io-stmt.h
    M flang-rt/lib/runtime/unit.h

  Log Message:
  -----------
  [flang][runtime] Remove redundant initialization (#150984)

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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list