[clang] [libclang/python] Export all enums (PR #100941)
Jannick Kremer via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 28 10:31:54 PDT 2024
https://github.com/DeinAlptraum created https://github.com/llvm/llvm-project/pull/100941
This resolves #48212 and also adds the remaining unexposed Enums
>From c4007832c8ed7cdb56aceebcf61b24ecb75f2aa4 Mon Sep 17 00:00:00 2001
From: Jannick Kremer <jannick.kremer at mailbox.org>
Date: Sun, 28 Jul 2024 18:30:35 +0100
Subject: [PATCH] [libclang/python] Export all enums
---
clang/bindings/python/clang/cindex.py | 5 +++++
1 file changed, 5 insertions(+)
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",
More information about the cfe-commits
mailing list