================
@@ -2955,6 +2962,10 @@ def __getitem__(self, key):
             raise IndexError
         return CompletionChunk(self.obj, key)
 
+    def __iter__(self):
+        for i in range(len(self)):
+            yield self[i]
+
----------------
Endilll wrote:

Can we put this under `if TYPE_CHECKING` somehow?

https://github.com/llvm/llvm-project/pull/138074
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to