[all-commits] [llvm/llvm-project] 98df18: [flang][OpenMP] Parse cancel-directive-name as clause

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Mar 6 09:23:25 PST 2025


  Branch: refs/heads/users/kparzysz/spr/o03-cancel-directive-name
  Home:   https://github.com/llvm/llvm-project
  Commit: 98df18461bb06afa06b8968b157a3c5a5cf50324
      https://github.com/llvm/llvm-project/commit/98df18461bb06afa06b8968b157a3c5a5cf50324
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    A flang/test/Semantics/OpenMP/cancel.f90
    M llvm/include/llvm/Frontend/OpenMP/OMP.td

  Log Message:
  -----------
  [flang][OpenMP] Parse cancel-directive-name as clause

The cancellable construct names on CANCEL or CANCELLATION POINT directives
are actually clauses (with the same names as the corresponding constructs).

Instead of parsing them into a custom structure, parse them as a clause,
which will make CANCEL/CANCELLATION POINT follow the same uniform scheme
as other constructs (<directive> [(<arguments>)] [clauses]).



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