[clang] [Clang][OpenMP]Default clause variable category (PR #157063)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 27 09:37:59 PDT 2025


================
@@ -1326,11 +1365,34 @@ DSAStackTy::DSAVarData DSAStackTy::getDSA(const_iterator &Iter,
     return DVar;
   }
 
+  DefaultDataSharingAttributes IterDA = Iter->DefaultAttr;
+  switch (Iter->DefaultVCAttr) {
+  case DSA_VC_aggregate:
+    if (!VD->getType()->isAggregateType())
----------------
SunilKuravinakop wrote:

Thank you for the feedback Shafik Yaghmour and Alexey. 
I have taken care of this feedback in a new PR [165276](https://github.com/llvm/llvm-project/pull/165276) .

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


More information about the cfe-commits mailing list