[flang-commits] [flang] [flang][OpenMP] Fix construct privatization in default clause (PR #72510)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Nov 20 02:12:15 PST 2023


================
@@ -855,7 +855,7 @@ class FirConverter : public Fortran::lower::AbstractConverter {
                               bool collectSymbol) {
             if (collectSymbol && oriSymbol.test(flag))
               symbolSet.insert(&oriSymbol);
-            if (checkHostAssociatedSymbols)
+            else if (checkHostAssociatedSymbols)
----------------
kiranchandramohan wrote:

It will be good to document the `collectSymbolSet` function.

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


More information about the flang-commits mailing list