[flang-commits] [flang] [flang] Create temporaries for array sections passed to IGNORE_TKR dummy args (PR #147419)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Tue Jul 8 08:46:05 PDT 2025


================
@@ -170,7 +170,7 @@ class CallInterface {
     /// Is the argument INTENT(OUT)
     bool isIntentOut() const;
     /// Does the argument have the CONTIGUOUS attribute or have explicit shape?
-    bool mustBeMadeContiguous() const;
+    bool mustBeMadeContiguous(const bool argHasTriplet = false) const;
----------------
klausler wrote:

`const` is never needed in a prototype argument that isn't a reference or a pointer

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


More information about the flang-commits mailing list