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

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 5 06:53:12 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);
----------------
alexey-bataev wrote:

Move it exactly where it used (lines 4807-4819)

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


More information about the cfe-commits mailing list