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

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 27 13:48:06 PST 2026


================
@@ -14,7 +14,7 @@ def check_completion_results(self, cr, expected):
         self.assertIsNotNone(cr)
         self.assertEqual(len(cr.diagnostics), 0)
 
-        completions = [str(c) for c in cr.results]
+        completions = [str(c) for c in cr]
----------------
Endilll wrote:

We need to test both new and old API

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


More information about the cfe-commits mailing list