[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-27 Thread Erich Keane via cfe-commits
https://github.com/erichkeane closed https://github.com/llvm/llvm-project/pull/73143 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread Erich Keane via cfe-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/73143 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev approved this pull request. https://github.com/llvm/llvm-project/pull/73143 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread Erich Keane via cfe-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/73143 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread Erich Keane via cfe-commits
@@ -232,32 +235,87 @@ void ParseOpenACCClauseList(Parser &P) { P.Diag(P.getCurToken(), diag::warn_pragma_acc_unimplemented_clause_parsing); } -void ParseOpenACCDirective(Parser &P) { - OpenACCDirectiveKind DirKind = ParseOpenACCDirectiveKind(P); +} // namespace + +// Rou

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread Erich Keane via cfe-commits
https://github.com/erichkeane updated https://github.com/llvm/llvm-project/pull/73143 >From c6b9245f7865a99cd5024fc62aca0f496bcce12b Mon Sep 17 00:00:00 2001 From: erichkeane Date: Tue, 21 Nov 2023 14:04:41 -0800 Subject: [PATCH 1/2] [OpenACC] Implement 'routine' construct parsing The 'routine

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread Alexey Bataev via cfe-commits
@@ -232,32 +235,87 @@ void ParseOpenACCClauseList(Parser &P) { P.Diag(P.getCurToken(), diag::warn_pragma_acc_unimplemented_clause_parsing); } -void ParseOpenACCDirective(Parser &P) { - OpenACCDirectiveKind DirKind = ParseOpenACCDirectiveKind(P); +} // namespace + +// Rou

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Erich Keane (erichkeane) Changes The 'routine' construct applies either to a function directly, or, when provided a name, applies to the function named (and is visible in the current scope). This patch implements the parsing for this. The

[clang] [OpenACC] Implement 'routine' construct parsing (PR #73143)

2023-11-22 Thread Erich Keane via cfe-commits
https://github.com/erichkeane created https://github.com/llvm/llvm-project/pull/73143 The 'routine' construct applies either to a function directly, or, when provided a name, applies to the function named (and is visible in the current scope). This patch implements the parsing for this. The ide