================ @@ -11751,3 +11753,67 @@ void ASTRecordReader::readOMPChildren(OMPChildren *Data) { for (unsigned I = 0, E = Data->getNumChildren(); I < E; ++I) Data->getChildren()[I] = readStmt(); } + +OpenACCClause *ASTRecordReader::readOpenACCClause() { + OpenACCClauseKind ClauseKind = readEnum<OpenACCClauseKind>(); + SourceLocation BeginLoc = readSourceLocation(); + SourceLocation EndLoc = readSourceLocation(); + + // TODO OpenACC: We don't have these used anywhere, but eventually we should + // be constructing the Clauses with them, so these casts can go away. + (void)BeginLoc; + (void)EndLoc; ---------------- alexey-bataev wrote:
[[maybe_unused]]? https://github.com/llvm/llvm-project/pull/87675 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits