[clang] [OpenACC] Private Clause on Compute Constructs (PR #90521)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 09:04:29 PDT 2024
================
@@ -166,3 +176,9 @@ void OpenACCClausePrinter::VisitVectorLengthClause(
const OpenACCVectorLengthClause &C) {
OS << "vector_length(" << C.getIntExpr() << ")";
}
+
+void OpenACCClausePrinter::VisitPrivateClause(const OpenACCPrivateClause &C) {
+ OS << "private(";
+ llvm::interleaveComma(C.getVarList(), OS);
----------------
erichkeane wrote:
Test added :) A bit of exploration, plus a patch to fix the rest (upstreamed as review after commit), and now up to date here :)
https://github.com/llvm/llvm-project/pull/90521
More information about the cfe-commits
mailing list