================
@@ -3216,38 +3216,20 @@ def __getitem__(self, key: int) -> CodeCompletionResult:
return self.results[key]
-class CodeCompletionResults(ClangObject):
- def __init__(self, ptr: _Pointer[CCRStructure]):
- assert isinstance(ptr, POINTER(CCRStructure)) and ptr
- self.ptr = self._as_parameter_ = ptr
----------------
Endilll wrote:
My guess is that `CodeCompletionResults` was there to hold what
`clang_codeCompleteAt` returns, which was `POINTER(CCRStructure)`, and provide
convenience functions over it. I think I understand what was going on, but I
don't fully understand what is not clear to you to explain that, so if you give
me a couple of more targeted questions, I'll try to clear the confusion.
https://github.com/llvm/llvm-project/pull/224678
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits