[flang-commits] [flang] [llvm] [flang] implement `split` for fortran 2023 (PR #161484)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Oct 2 09:10:42 PDT 2025
================
@@ -570,6 +570,35 @@ static RT_API_ATTRS void MaxMin(Descriptor &accumulator, const Descriptor &x,
}
}
+template <typename CHAR>
+inline RT_API_ATTRS std::size_t Split(const CHAR *x, std::size_t xLen,
+ const CHAR *set, std::size_t setLen, std::size_t pos, bool back,
----------------
klausler wrote:
`std::int64_t` is the correct type to use for Fortran `INTEGER` argument values.
https://github.com/llvm/llvm-project/pull/161484
More information about the flang-commits
mailing list