[PATCH] D85104: [flang][NFC] Unify OpenMP and OpenACC structure checker

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 2 18:48:10 PDT 2020


clementval created this revision.
clementval added reviewers: kiranchandramohan, sscalpone, ichoyjx.
Herald added subscribers: llvm-commits, Charusso, guansong, yaxunl.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
clementval requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85104

Files:
  flang/lib/Semantics/check-acc-structure.cpp
  flang/lib/Semantics/check-acc-structure.h
  flang/lib/Semantics/check-directive-structure.h
  flang/lib/Semantics/check-omp-structure.cpp
  flang/lib/Semantics/check-omp-structure.h
  flang/test/Semantics/acc-clause-validity.f90
  flang/test/Semantics/omp-clause-validity01.f90
  flang/test/Semantics/omp-declarative-directive.f90
  llvm/utils/TableGen/DirectiveEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85104.282492.patch
Type: text/x-patch
Size: 45175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200803/0e056e00/attachment.bin>


More information about the llvm-commits mailing list