[all-commits] [llvm/llvm-project] 672c1a: [flang][OpenMP] Avoid extra newline when unparsing...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon Sep 22 13:59:15 PDT 2025


  Branch: refs/heads/users/kparzysz/r06-unparse-noeol
  Home:   https://github.com/llvm/llvm-project
  Commit: 672c1ad9f0b473f883b12c9a2aff70b7c3de80ac
      https://github.com/llvm/llvm-project/commit/672c1ad9f0b473f883b12c9a2aff70b7c3de80ac
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-09-22 (Mon, 22 Sep 2025)

  Changed paths:
    M flang/lib/Parser/unparse.cpp
    M flang/test/Parser/OpenMP/declare-reduction-multi.f90
    M flang/test/Parser/OpenMP/declare-reduction-operator.f90
    M flang/test/Parser/OpenMP/declare-reduction-unparse-with-symbols.f90
    M flang/test/Parser/OpenMP/declare-reduction-unparse.f90
    M flang/test/Parser/OpenMP/metadirective-dirspec.f90
    M flang/test/Parser/OpenMP/openmp6-directive-spellings.f90
    M flang/test/Semantics/OpenMP/declare-reduction-modfile.f90

  Log Message:
  -----------
  [flang][OpenMP] Avoid extra newline when unparsing OmpReductionCombiner

When the combiner contains an AssignmentStmt, the unparser for that will
emit a newline after the assignment. Don't let it do that, unparse the
assignment ourselves.



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