[clang] [libclang/python] Deprecate CodeCompletionResults.results (PR #177764)

Jannick Kremer via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 31 08:10:21 PST 2026


================
@@ -3296,7 +3358,7 @@ def __getitem__(self, key: int) -> CodeCompletionResult:
     def results(self) -> CCRStructure:
         warnings.warn(
             "Access to 'CodeCompletionResult's through "
-            "'CodeCompletionResults.results' will be removed in a future release."
+            "'CodeCompletionResults.results' will be removed in a future release. "
----------------
DeinAlptraum wrote:

Ah I see - I've adapted the message a bit to better reflect this nuance. I hope this covers what you meant.

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


More information about the cfe-commits mailing list