[clang] [OpenMP 6.0] Parse/Sema support for reduction over private variable with reduction clause. (PR #129938)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 11 03:58:52 PDT 2025
================
@@ -3678,6 +3678,9 @@ class OMPReductionClause final
/// Name of custom operator.
DeclarationNameInfo NameInfo;
+ /// Private variable reduction flag
+ llvm::SmallVector<bool, 8> IsPrivateVarReductionFlags;
----------------
alexey-bataev wrote:
No SmallVector is allowed here, use tail-allocated storage for extra members (`llvm::TrailingObjects`)
https://github.com/llvm/llvm-project/pull/129938
More information about the cfe-commits
mailing list