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

Caroline Newcombe via flang-commits flang-commits at lists.llvm.org
Mon Mar 30 18:47:14 PDT 2026


================
@@ -1193,6 +1210,12 @@ class IsContiguousHelper
 
   Result operator()(const NullPointer &) const { return true; }
 
+  template <typename T> Result operator()(const ConditionalExpr<T> &x) {
+    // Contiguity is not a meaningful characteristic of a conditional
+    // expression
+    return true;
----------------
cenewcombe wrote:

This has now been changed back to `true`

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


More information about the flang-commits mailing list