[llvm] [llvm][Object] Add missing const qualifier for value_type in content_iterator (PR #124106)

Bushev Dmitry via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 09:24:02 PST 2025


================
@@ -38,3 +40,24 @@ TEST(Object, DataRefImplOstream) {
 
   EXPECT_EQ(Expected, s);
 }
+
+struct ProxyContent {
+  unsigned Index = 0;
+  ProxyContent(unsigned Index) : Index(Index) {};
+  void moveNext() { Index++; }
----------------
dybv-sc wrote:

done

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


More information about the llvm-commits mailing list