From 6dd72a09e5a150d16cd72c310047e2dcb8150c7c Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 2 Oct 2024 14:25:59 -0700 Subject: [PATCH] Scripts: Fixes newer clang-python It provided this in the newer clang-python --- Scripts/StructPackVerifier.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Scripts/StructPackVerifier.py b/Scripts/StructPackVerifier.py index 4716e7976..c8c534b29 100755 --- a/Scripts/StructPackVerifier.py +++ b/Scripts/StructPackVerifier.py @@ -23,8 +23,11 @@ CursorKind.REQUIRESEXPR = CursorKind(154), # C++2a std::bit_cast expression. CursorKind.BUILTINBITCASTEXPR = CursorKind(280) -# a concept declaration. -CursorKind.CONCEPTDECL = CursorKind(604), +try: + # a concept declaration. + CursorKind.CONCEPTDECL = CursorKind(604), +except: + pass @dataclass class TypeDefinition: