================
@@ -330,7 +330,7 @@ const char *const Runtimes = R"(
     void* operator new(__SIZE_TYPE__, void* __p, __clang_Interpreter_NewTag) 
noexcept;
     template <class T, class = T (*)() /*disable for arrays*/>
     void __clang_Interpreter_SetValueCopyArr(const T* Src, void* Placement, 
unsigned long Size) {
-      for (auto Idx = 0; Idx < Size; ++Idx)
+      for (auto Idx = 0ul; Idx < Size; ++Idx)
----------------
vgvassilev wrote:

```suggestion
      for (unsigned long Idx = 0ul; Idx < Size; ++Idx)
```

Maybe that's a better fix?

https://github.com/llvm/llvm-project/pull/174587
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to