[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:55:37 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)
----------------
NimishMishra wrote:

I have expanded on the comment in AbstractConverter.h. Could you please see if it is ok now?

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


More information about the flang-commits mailing list