StructPackVerifier: Fixes missing cursorkind again

python-clang is getting pretty bad with missing cursor kinds these days.
This was hit from clang-15, will be required for new CI runners
This commit is contained in:
Ryan Houdek committed 2023-07-26 11:21:16 -07:00
1 parent d83960d4dd
commit a86109280a
1 file changed
+4
+4
View File
@@ -12,10 +12,14 @@ logger.setLevel(logging.WARNING)
# These defines are temporarily defined since python3-clang doesn't yet support these.
# Once this tool gets switched over to C++ then this won't be an issue.
# Type definitions redeclared from `clang/include/clang-c/Index.h`
# Expression that references a C++20 concept.
CursorKind.CONCEPTSPECIALIZATIONEXPR = CursorKind(153),
# Expression that references a C++20 concept.
CursorKind.REQUIRESEXPR = CursorKind(154),
# C++2a std::bit_cast expression.
CursorKind.BUILTINBITCASTEXPR = CursorKind(280)