[all-commits] [llvm/llvm-project] 108421: [flang][OpenMP] Replace OpenMPBlockConstruct with ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Aug 28 09:00:29 PDT 2025


  Branch: refs/heads/users/kparzysz/b02-no-block-construct
  Home:   https://github.com/llvm/llvm-project
  Commit: 1084211472f058473beb13e0bb9165afbb2620ae
      https://github.com/llvm/llvm-project/commit/1084211472f058473beb13e0bb9165afbb2620ae
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M flang/examples/FeatureList/FeatureList.cpp
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/check-omp-loop.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/rewrite-parse-tree.cpp
    M flang/test/Parser/OpenMP/block-construct.f90
    M flang/test/Parser/OpenMP/construct-prefix-conflict.f90
    M flang/test/Parser/OpenMP/in-reduction-clause.f90
    M flang/test/Parser/OpenMP/openmp6-directive-spellings.f90
    M flang/test/Parser/OpenMP/ordered-block-vs-standalone.f90
    M flang/test/Parser/OpenMP/proc-bind.f90
    M flang/test/Parser/OpenMP/scope.f90
    M flang/test/Semantics/OpenMP/simd-only.f90

  Log Message:
  -----------
  [flang][OpenMP] Replace OpenMPBlockConstruct with OmpBlockConstruct

OpenMPBlockConstruct, somewhat confusingly, represents most but not all
block-associated constructs. It's derived from OmpBlockConstruct, as are
all the remaining block-associated constructs.

It does not correspond to any well-defined group of constructs. It's the
collection of constructs that don't have their own types (and those that
do have their own types do so for their own reasons).

Using the broader OmpBlockConstruct in type-based visitors won't cause
issues, because the specific overloads (for classes derived from it) will
always be preferred.



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