[all-commits] [llvm/llvm-project] 406261: [flang][NFC] Unify OpenMP and OpenACC structure ch...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Aug 5 11:26:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 40626184cf95a08f8c62192fa19cd8a71a476206
      https://github.com/llvm/llvm-project/commit/40626184cf95a08f8c62192fa19cd8a71a476206
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/lib/Semantics/check-acc-structure.h
    A flang/lib/Semantics/check-directive-structure.h
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/test/Semantics/acc-clause-validity.f90
    M flang/test/Semantics/omp-clause-validity01.f90
    M flang/test/Semantics/omp-declarative-directive.f90
    M llvm/test/TableGen/directive1.td
    M llvm/test/TableGen/directive2.td
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [flang][NFC] Unify OpenMP and OpenACC structure checker

This patch remove duplicated code between the check-omp-structure and the check-acc-structure
and unify it into a check-directive-structure templated class.

Reviewed By: kiranchandramohan, sscalpone, ichoyjx

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




More information about the All-commits mailing list