[flang-commits] [flang] [flang] Implement conditional expressions parser/semantics (F2023) (PR #186489)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Mon Mar 16 12:19:40 PDT 2026


================
@@ -305,6 +305,20 @@ class DuplicatedSubscriptFinder
     }
     return anyVector ? false : (*this)(aRef.base());
   }
+  template <typename T> bool operator()(const evaluate::ConditionalExpr<T> &x) {
----------------
klausler wrote:

Conditional expressions are not variables, so they can't be definable.

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


More information about the flang-commits mailing list