[all-commits] [llvm/llvm-project] 4de69f: [OpenACC] Implement ignoring of extension clauses

Erich Keane via All-commits all-commits at lists.llvm.org
Thu May 29 11:41:28 PDT 2025


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

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseOpenACC.cpp
    A clang/test/ParserOpenACC/extensions.c

  Log Message:
  -----------
  [OpenACC] Implement ignoring of extension clauses

OpenACC 3.4 will permit extension clauses, which are clauses that start
with '__', and contain an optional balanced-paren-token-sequence inside
of parens.

This patch ensures we consume these, and emit a warning instead of an
error for unsupported clauses.



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