[all-commits] [llvm/llvm-project] 0dd72e: [OpenACC] Implement 'vector' and 'worker' cluase a...

Erich Keane via All-commits all-commits at lists.llvm.org
Mon Jan 22 11:35:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dd72eb269dd485b98afba2c58a1d747db53dcad
      https://github.com/llvm/llvm-project/commit/0dd72eb269dd485b98afba2c58a1d747db53dcad
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M clang/include/clang/Basic/OpenACCKinds.h
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/test/ParserOpenACC/parse-clauses.c

  Log Message:
  -----------
  [OpenACC] Implement 'vector' and 'worker' cluase argument parsing

Both of the clauses 'vector' and 'worker' have an optional 'special'
word followed by an int-expr.  The arguments list is optional, as is the
special word, but if the parens are included, an int-expr is required.

This patch implements parsing for both.




More information about the All-commits mailing list