[llvm-branch-commits] [clang] [PATCH 2/6] [clang] Improve nested name specifier AST representation (PR #148012)
Jannick Kremer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Jul 20 21:44:10 PDT 2025
================
@@ -63,7 +63,7 @@ def test_a_struct(self):
self.assertIsNotNone(fields[1].translation_unit)
self.assertEqual(fields[1].spelling, "b")
self.assertFalse(fields[1].type.is_const_qualified())
- self.assertEqual(fields[1].type.kind, TypeKind.ELABORATED)
+ self.assertEqual(fields[1].type.kind, TypeKind.TYPEDEF)
----------------
DeinAlptraum wrote:
If I understand the changes correctly, the `ELABORATED` TypeKind is removed, right?
If so, shouldn't that enum variant also be removed from the TypeKind enum in the Python bindings?
I.e. variant 119 of `TypeKind` in `cindex.py`: https://github.com/llvm/llvm-project/blob/6ebc42322ca7bd0261c1faa6e2d785057ab95c5f/clang/bindings/python/clang/cindex.py#L2505
https://github.com/llvm/llvm-project/pull/148012
More information about the llvm-branch-commits
mailing list