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

David Pagan via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 12:01:12 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?
----------------
ddpagan wrote:

Old note to myself.  As far as I know there aren't any checks required here.

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


More information about the cfe-commits mailing list