DeinAlptraum wrote:

> Is there anything preventing us from providing our own `__str__` for 
> `AvailabilityKind`?

There are currently two ways to get AvailabilityKinds out of the API (except 
for intializing them yourself): accessing the `availability` property on a 
`Cursor`, or the property of the same name on a `CompletionString`.

Changing the `__str__` of `AvailabilityKind` directly would mean a breaking 
change over there instead.

https://github.com/llvm/llvm-project/pull/160296
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to