[flang-commits] [flang] [flang] remove sequences of duplicate messages (PR #161916)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Oct 3 15:04:54 PDT 2025


================
@@ -135,16 +135,21 @@ bool IsConstantExprHelper<INVARIANT>::operator()(
     } else if (proc.IsPure()) {
       std::size_t j{0};
       for (const auto &arg : call.arguments()) {
-        if (const auto *dataDummy{j < proc.dummyArguments.size()
-                    ? std::get_if<characteristics::DummyDataObject>(
-                          &proc.dummyArguments[j].u)
-                    : nullptr};
-            dataDummy &&
+        const auto *dataDummy{j < proc.dummyArguments.size()
----------------
klausler wrote:

Isn't this the same code as the other patch?

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


More information about the flang-commits mailing list