[clang] [libclang/python] export libclang version to the bindings (PR #86931)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 21 04:29:12 PDT 2026


================
@@ -545,6 +544,8 @@ Python Binding Changes
   ``CodeCompletionResults.results`` should be changed to directly use
   ``CodeCompletionResults``: it nows supports ``__len__`` and ``__getitem__``,
   so it can be used the same as ``CodeCompletionResults.results``.
+- Added a new helper method ``get_version`` to the class ``Config`` to read the
+  version string of the libclang in use
----------------
Endilll wrote:

```suggestion
  version string of the libclang in use.
```

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


More information about the cfe-commits mailing list