================ @@ -3321,27 +3321,33 @@ SemaOpenMP::CheckOMPThreadPrivateDecl(SourceLocation Loc, } return D; } - static OMPAllocateDeclAttr::AllocatorTypeTy getAllocatorKind(Sema &S, DSAStackTy *Stack, Expr *Allocator) { + // No allocator expression → Null mem alloc (matches existing tests). if (!Allocator) return OMPAllocateDeclAttr::OMPNullMemAlloc; + ---------------- shafik wrote:
All these extra newlines are not necessary and should be dropped. They add a lot of noise to the change. https://github.com/llvm/llvm-project/pull/158146 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits