[all-commits] [llvm/llvm-project] 3bd34e: [OpenACC] Fix checking of sub-expressions in cache

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Jul 24 08:11:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bd34ec924dbba1bde3856fdc31748200ccfd53f
      https://github.com/llvm/llvm-project/commit/3bd34ec924dbba1bde3856fdc31748200ccfd53f
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaOpenACCAtomic.cpp
    M clang/test/SemaOpenACC/atomic-construct.cpp

  Log Message:
  -----------
  [OpenACC] Fix checking of sub-expressions in cache

Running an external test suite (UDel) showed that our expression
comparison for the 'cache' rule checking was overly strict in the
presence of irrelevant parens/casts/etc.  This patch ensures we skip
them when checking.

This also changes the diagnostic to say 'sub-expression' instead of
variable, which is more correct.



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