[all-commits] [llvm/llvm-project] 04e9b6: [OpenACC] Implement Atomic construct variants (#73...

Erich Keane via All-commits all-commits at lists.llvm.org
Tue Nov 21 11:09:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04e9b61cec8491ca35ba804d8e004a37caa4045e
      https://github.com/llvm/llvm-project/commit/04e9b61cec8491ca35ba804d8e004a37caa4045e
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

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

  Log Message:
  -----------
  [OpenACC] Implement Atomic construct variants (#73015)

`atomic` is required to be followed by a special `atomic clause`, so
this patch manages the parsing of that. We are representing each of the
variants of the atomic construct as separate kinds, because they have
distinct rules/application/etc, and this should make it easier to check
rules in the future.




More information about the All-commits mailing list