[clang] Use existing AvailabilityKind enum for code completion availability (PR #160296)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 24 07:31:49 PDT 2025


================
@@ -3039,6 +3039,16 @@ class _CXUnsavedFile(Structure):
 }
 
 
+# Converting the new enum names (full upper-case, underscore separated)
+# to the old ones (separated by capitalization), e.g. RESULT_TYPE -> ResultType
+def _kind_to_old_name(kind: BaseEnumeration):
----------------
Endilll wrote:

I see you renamed it on the usage side, but here I still see the old name.

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


More information about the cfe-commits mailing list