[PATCH] D96905: [libclang] Add missing fixed point literal CursorKind to cindex.py

Vince Bridgers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 17 17:11:04 PST 2021


vabridgers updated this revision to Diff 324473.
vabridgers added a comment.

Remove extraneous line


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96905/new/

https://reviews.llvm.org/D96905

Files:
  clang/bindings/python/clang/cindex.py
  clang/bindings/python/tests/cindex/test_cursor_kind.py


Index: clang/bindings/python/tests/cindex/test_cursor_kind.py
===================================================================
--- clang/bindings/python/tests/cindex/test_cursor_kind.py
+++ clang/bindings/python/tests/cindex/test_cursor_kind.py
@@ -23,6 +23,7 @@
         self.assertIn(CursorKind.MS_ASM_STMT, kinds)
         self.assertIn(CursorKind.MODULE_IMPORT_DECL, kinds)
         self.assertIn(CursorKind.TYPE_ALIAS_TEMPLATE_DECL, kinds)
+        self.assertIn(CursorKind.FIXED_POINT_LITERAL, kinds)
 
     def test_kind_groups(self):
         """Check that every kind classifies to exactly one group."""
Index: clang/bindings/python/clang/cindex.py
===================================================================
--- clang/bindings/python/clang/cindex.py
+++ clang/bindings/python/clang/cindex.py
@@ -1084,6 +1084,8 @@
 # Represents an @available(...) check.
 CursorKind.OBJC_AVAILABILITY_CHECK_EXPR = CursorKind(148)
 
+# A fixed point literal
+CursorKind.FIXED_POINT_LITERAL = CursorKind(149)
 
 # A statement whose specific kind is not exposed via this interface.
 #


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96905.324473.patch
Type: text/x-patch
Size: 1085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210218/04b306fd/attachment.bin>


More information about the cfe-commits mailing list