[PATCH] D106968: [flang][openacc] Use TableGen to generate the clause parser

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 28 08:10:02 PDT 2021


clementval created this revision.
Herald added a subscriber: mgrang.
Herald added a reviewer: sscalpone.
clementval requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch introduce an automatic generation of the clause parser from the TableGen
information.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106968

Files:
  flang/lib/Parser/openacc-parsers.cpp
  llvm/include/llvm/Frontend/Directive/DirectiveBase.td
  llvm/include/llvm/Frontend/OpenACC/ACC.td
  llvm/include/llvm/TableGen/DirectiveEmitter.h
  llvm/test/TableGen/directive1.td
  llvm/utils/TableGen/DirectiveEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106968.362397.patch
Type: text/x-patch
Size: 15468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210728/0313ec86/attachment.bin>


More information about the llvm-commits mailing list