[clang] 7b3db55 - [libclang/python] Export all enums (#100941)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 29 09:24:29 PDT 2024


Author: Jannick Kremer
Date: 2024-07-29T20:24:26+04:00
New Revision: 7b3db551e499a7ecef6a29c0ffbc923c45277332

URL: https://github.com/llvm/llvm-project/commit/7b3db551e499a7ecef6a29c0ffbc923c45277332
DIFF: https://github.com/llvm/llvm-project/commit/7b3db551e499a7ecef6a29c0ffbc923c45277332.diff

LOG: [libclang/python] Export all enums (#100941)

This resolves #48212 and also adds the remaining unexposed Enums

Added: 
    

Modified: 
    clang/bindings/python/clang/cindex.py

Removed: 
    


################################################################################
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