[all-commits] [llvm/llvm-project] 6c3379: [openmp][openacc][NFC] Simplify access and validat...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Nov 3 08:13:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c337945c8954bc7aeb265ea5c70e455a951bd8a
      https://github.com/llvm/llvm-project/commit/6c337945c8954bc7aeb265ea5c70e455a951bd8a
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [openmp][openacc][NFC] Simplify access and validation of DirectiveBase information

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.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list