[all-commits] [llvm/llvm-project] e27fe2: [OpenACC][NFC] Add the _Pragma spelling to a bunch...

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Mar 12 11:02:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e27fe2e07c040719075da79d6880bf57b2dc5dbc
      https://github.com/llvm/llvm-project/commit/e27fe2e07c040719075da79d6880bf57b2dc5dbc
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M clang/test/SemaOpenACC/atomic-construct-ast.cpp
    M clang/test/SemaOpenACC/cache-construct-ast.cpp
    M clang/test/SemaOpenACC/combined-construct-ast.cpp
    M clang/test/SemaOpenACC/compute-construct-ast.cpp
    M clang/test/SemaOpenACC/data-construct-default-ast.cpp
    M clang/test/SemaOpenACC/declare-construct-ast.cpp
    M clang/test/SemaOpenACC/init-construct-ast.cpp
    M clang/test/SemaOpenACC/loop-ast.cpp
    M clang/test/SemaOpenACC/shutdown-construct-ast.cpp

  Log Message:
  -----------
  [OpenACC][NFC] Add the _Pragma spelling to a bunch of the tests

OpenACC PR 475(targetting OpenACC3.4) added support for the _Pragma
spelling of an OpenACC pragma. We already implemented this, as clang
doesn't really differentiate between the spellings (so we did it as an
inadvertent extension).

This patch adds a few spot-check tests to make sure we support this
spelling and that it results in the same AST as the traditional
spelling.



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