[clang] [clang][OpenMP] Add 'allocator' modifier for 'allocate' clause. (PR #114883)

David Pagan via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 5 13:08:07 PST 2024


================
@@ -4539,6 +4539,8 @@ bool Parser::ParseOpenMPVarList(OpenMPDirectiveKind DKind,
   bool NeedRParenForLinear = false;
   BalancedDelimiterTracker LinearT(*this, tok::l_paren,
                                    tok::annot_pragma_openmp_end);
+  BalancedDelimiterTracker AllocateT(*this, tok::l_paren,
+                                     tok::annot_pragma_openmp_end);
----------------
ddpagan wrote:

Fixed as suggested.

https://github.com/llvm/llvm-project/pull/114883


More information about the cfe-commits mailing list