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

via flang-commits flang-commits at lists.llvm.org
Tue Mar 31 04:12:21 PDT 2026


================
@@ -416,6 +421,14 @@ class IsEqualEvaluateExpr {
                       const Fortran::evaluate::Extremum<A> &y) {
     return isBinaryEqual(x, y);
   }
+  template <typename T>
+  static bool isEqual(const Fortran::evaluate::ConditionalExpr<T> &x,
+                      const Fortran::evaluate::ConditionalExpr<T> &y) {
+    // Compare all conditions and values
----------------
jeanPerier wrote:

nit: I do not think this comment brings much.

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


More information about the flang-commits mailing list