[PATCH] D85549: [flang][directives] Use TableGen information for clause classes in parse-tree

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 12:48:26 PDT 2020


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

This patch takes advantage of the directive information and tablegen generation
to replace the clauses class parse tree and in the dump parse tree sections.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85549

Files:
  flang/include/flang/Parser/dump-parse-tree.h
  flang/include/flang/Parser/parse-tree.h
  flang/lib/Parser/openacc-parsers.cpp
  flang/lib/Parser/unparse.cpp
  flang/lib/Semantics/check-acc-structure.cpp
  flang/lib/Semantics/check-acc-structure.h
  flang/lib/Semantics/resolve-directives.cpp
  llvm/include/llvm/Frontend/Directive/DirectiveBase.td
  llvm/include/llvm/Frontend/OpenACC/ACC.td
  llvm/include/llvm/Frontend/OpenMP/OMP.td
  llvm/test/TableGen/directive1.td
  llvm/test/TableGen/directive2.td
  llvm/utils/TableGen/DirectiveEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85549.283998.patch
Type: text/x-patch
Size: 38128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/dee4b72a/attachment-0001.bin>


More information about the llvm-commits mailing list