[clang] [clang][OpenMP] Add 'align' modifier for 'allocate' clause (PR #121814)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 08:19:51 PST 2025


================
@@ -5285,6 +5285,7 @@ static void checkAllocateClauses(Sema &S, DSAStackTy *Stack,
   }
   for (OMPClause *C : AllocateRange) {
     auto *AC = cast<OMPAllocateClause>(C);
+    // TODO: Check alignment?
----------------
alexey-bataev wrote:

What are the missing checks here?

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


More information about the cfe-commits mailing list