[all-commits] [llvm/llvm-project] d7724c: [OpenACC] allow 'if' clause on 'atomic' construct

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Apr 2 10:03:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7724c8ea313e5d64ef35102958213dcd98f53ea
      https://github.com/llvm/llvm-project/commit/d7724c8ea313e5d64ef35102958213dcd98f53ea
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M clang/include/clang/AST/StmtOpenACC.h
    M clang/lib/AST/StmtOpenACC.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/lib/Sema/SemaOpenACCClause.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/test/AST/ast-print-openacc-atomic-construct.cpp
    M clang/test/ParserOpenACC/parse-clauses.c
    M clang/test/ParserOpenACC/parse-clauses.cpp
    M clang/test/SemaOpenACC/atomic-construct-ast.cpp
    M clang/test/SemaOpenACC/atomic-construct.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [OpenACC] allow 'if' clause on 'atomic' construct

This was added in OpenACC PR #511 in the 3.4 branch.  From an AST/Sema
perspective this is pretty trivial as the infrastructure for 'if'
already exists, however the atomic construct needed to be taught to take
clauses.  This patch does that and adds some testing to do so.



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