[all-commits] [llvm/llvm-project] c66dbb: [OpenACC] Implement 'capture' modifier Sema/AST

Erich Keane via All-commits all-commits at lists.llvm.org
Fri May 30 09:31:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c66dbbe385561a349ec854e545bbab395ec6dcf8
      https://github.com/llvm/llvm-project/commit/c66dbbe385561a349ec854e545bbab395ec6dcf8
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M clang/include/clang/Basic/OpenACCKinds.h
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaOpenACCClause.cpp
    M clang/test/SemaOpenACC/combined-construct-copy-clause.c
    M clang/test/SemaOpenACC/combined-construct-copyin-clause.c
    M clang/test/SemaOpenACC/combined-construct-copyout-clause.c
    M clang/test/SemaOpenACC/combined-construct-create-clause.c
    M clang/test/SemaOpenACC/compute-construct-copy-clause.c
    M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
    M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
    M clang/test/SemaOpenACC/compute-construct-create-clause.c
    M clang/test/SemaOpenACC/data-construct-copy-clause.c
    M clang/test/SemaOpenACC/data-construct-copyin-clause.c
    M clang/test/SemaOpenACC/data-construct-copyout-clause.c
    M clang/test/SemaOpenACC/data-construct-create-clause.c
    M clang/test/SemaOpenACC/declare-construct.cpp

  Log Message:
  -----------
  [OpenACC] Implement 'capture' modifier Sema/AST

The 'capture' modifier is an OpenACC 3.3NEXT (AKA 3.4) feature, which
permits a new kind of identifying the memory location of variables in a
data clause. However, it is only valid on data, combined, or compute
constructs.

This patch implements all of the proper restrictions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list