[all-commits] [llvm/llvm-project] c89b64: [openmp][openacc] Check for duplicate clauses for ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Oct 28 12:12:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c89b645755418ad22ffae8e347f7e495943367f0
      https://github.com/llvm/llvm-project/commit/c89b645755418ad22ffae8e347f7e495943367f0
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenACC/ACC.td
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    A llvm/test/TableGen/directive3.td
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [openmp][openacc] Check for duplicate clauses for directive

Check for duplicate clauses associated with directive. Clauses can appear only once
in the 4 lists associated with each directive (allowedClauses, allowedOnceClauses,
allowedExclusiveClauses, requiredClauses). Duplicates were already present (removed with this
patch) or were introduce in new patches by mistake (D89861).

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list