[clang] [libclang/python] Remove CompletionString.AvailabilityKindCompat (PR #210682)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 22 03:53:28 PDT 2026


================
@@ -58,6 +58,10 @@ latest release, please see the [Clang Web Site](https://clang.llvm.org) or the
 
 ### Clang Python Bindings Potentially Breaking Changes
 
+- `CompletionString.availability` now returns instances of `AvailabilityKind`.
+  As a result, the `__str__` representation of its return values changed.
+  It now follows the `CompletionChunkKind.VARIANT_NAME` scheme instead of `VariantName`, like other libclang enums. 
----------------
Endilll wrote:

```suggestion
  Like other libclang enums, it now follows the `CompletionChunkKind.VARIANT_NAME` scheme instead of `VariantName`. 
```

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


More information about the cfe-commits mailing list