[PATCH] D90358: [openmp][openacc][NFC] Simplify access and validation of DirectiveBase information

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 17:58:16 PDT 2020


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

This patch adds some helper in the DirectiveLanguage wrapper to initialize it from
the RecordKeeper and validate the records. This simplify arguments in lots of function
since only the DirectiveLanguge is passed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90358

Files:
  llvm/include/llvm/TableGen/DirectiveEmitter.h
  llvm/utils/TableGen/DirectiveEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90358.301495.patch
Type: text/x-patch
Size: 16278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201029/d47878f4/attachment.bin>


More information about the llvm-commits mailing list