[clang] [libclang/python] Export all enums (PR #100941)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 28 10:32:27 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Jannick Kremer (DeinAlptraum)
<details>
<summary>Changes</summary>
This resolves #<!-- -->48212 and also adds the remaining unexposed Enums
---
Full diff: https://github.com/llvm/llvm-project/pull/100941.diff
1 Files Affected:
- (modified) clang/bindings/python/clang/cindex.py (+5)
``````````diff
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index be024da5e005c..d9009a8666338 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/bindings/python/clang/cindex.py
@@ -4077,6 +4077,7 @@ def function_exists(self, name):
conf = Config()
__all__ = [
+ "AccessSpecifier",
"AvailabilityKind",
"BinaryOperator",
"Config",
@@ -4087,12 +4088,16 @@ def function_exists(self, name):
"CursorKind",
"Cursor",
"Diagnostic",
+ "ExceptionSpecificationKind",
"File",
"FixIt",
"Index",
"LinkageKind",
+ "RefQualifierKind",
"SourceLocation",
"SourceRange",
+ "StorageClass",
+ "TemplateArgumentKind",
"TLSKind",
"TokenKind",
"Token",
``````````
</details>
https://github.com/llvm/llvm-project/pull/100941
More information about the cfe-commits
mailing list