[clang] [clang][OpenMP] Add 'align' modifier for 'allocate' clause (PR #121814)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 13:18:55 PST 2025
================
@@ -7924,10 +7924,12 @@ void OMPClauseWriter::VisitOMPMapClause(OMPMapClause *C) {
void OMPClauseWriter::VisitOMPAllocateClause(OMPAllocateClause *C) {
Record.push_back(C->varlist_size());
- Record.writeEnum(C->getAllocatorModifier());
+ Record.push_back(C->getFirstAllocateModifier());
+ Record.push_back(C->getSecondAllocateModifier());
----------------
alexey-bataev wrote:
writeEnum?
https://github.com/llvm/llvm-project/pull/121814
More information about the cfe-commits
mailing list