[flang-commits] [flang] [flang][OpenMP] Fix construct privatization in default clause (PR #72510)
    via flang-commits 
    flang-commits at lists.llvm.org
       
    Wed Nov 22 01:56:59 PST 2023
    
    
  
================
@@ -120,7 +120,6 @@ class DataSharingProcessor {
   llvm::SetVector<const Fortran::semantics::Symbol *> privatizedSymbols;
   llvm::SetVector<const Fortran::semantics::Symbol *> defaultSymbols;
   llvm::SetVector<const Fortran::semantics::Symbol *> symbolsInNestedRegions;
-  llvm::SetVector<const Fortran::semantics::Symbol *> symbolsInParentRegions;
----------------
NimishMishra wrote:
Bad design from my end. Earlier, we were collecting both the symbol as well as the host-association details, and then removing one of them using this list. I have modified the current implementation to a use a `else if`, and hence this isn't required.
https://github.com/llvm/llvm-project/pull/72510
    
    
More information about the flang-commits
mailing list