[flang-commits] [flang] [flang] Unify return value of memcpy and memmove (PR #174048)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Wed Dec 31 10:19:45 PST 2025


================
@@ -155,6 +158,7 @@ static inline RT_API_ATTRS void *memmove(
   }
   if (to + count <= from || from + count <= to) {
     memcpy(dest, src, count);
+    return dest;
----------------
clementval wrote:

```suggestion
```

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


More information about the flang-commits mailing list