[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 12:00:44 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:
The prototype doesn't need the `const` here as part of the API, and the implementation is allowed to use `const` later if desired. So the `const` in the prototype makes me have to stop and wonder whether a `&` or `*` was intended but omitted.
https://github.com/llvm/llvm-project/pull/147419
More information about the flang-commits
mailing list