[all-commits] [llvm/llvm-project] c988e7: [flang][openacc] Enforce restriction on declare di...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Aug 2 21:27:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c988e78f8e5e4777a872142885723d5f925f93b8
      https://github.com/llvm/llvm-project/commit/c988e78f8e5e4777a872142885723d5f925f93b8
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/lib/Semantics/check-acc-structure.h
    M flang/lib/Semantics/semantics.cpp
    M flang/test/Semantics/OpenACC/acc-declare-validity.f90

  Log Message:
  -----------
  [flang][openacc] Enforce restriction on declare directive

Enforce the following restriction specified in 2.13
A var may appear at most once in all the clauses of declare directives for a
function, subroutine, program, or module.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D156945




More information about the All-commits mailing list