[all-commits] [llvm/llvm-project] 4e0b68: [OpenACC] Implement warning restrictions for 'firs...

Erich Keane via All-commits all-commits at lists.llvm.org
Mon Aug 4 11:42:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e0b68cef0bdf0d806cd778fbf0b7ddd80b44b4d
      https://github.com/llvm/llvm-project/commit/4e0b68cef0bdf0d806cd778fbf0b7ddd80b44b4d
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/SemaOpenACC.h
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/test/SemaOpenACC/private_firstprivate_reduction_required_ops.cpp

  Log Message:
  -----------
  [OpenACC] Implement warning restrictions for 'firstprivate'

'firstprivate' can't be generated unless we have a copy constructor, so
this patch implements the restriction as a warning, and prevents the
item from being added to the AST.



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