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

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 31 01:52:34 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. "
----------------
Endilll wrote:

Here I'm talking not about DeprecationWarning (but your reasoning here makes sense), but about the diagnostic message.

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


More information about the cfe-commits mailing list